Class InvalidSponsoredUserDataException

java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.InvalidSponsoredUserDataException
All Implemented Interfaces:
Serializable

public class InvalidSponsoredUserDataException extends PerunException
Author:
Vojtech Sassmann <vojtech.sassmann@gmail.com>
See Also:
  • Constructor Details

    • InvalidSponsoredUserDataException

      public InvalidSponsoredUserDataException()
    • InvalidSponsoredUserDataException

      public InvalidSponsoredUserDataException(String message)
    • InvalidSponsoredUserDataException

      public InvalidSponsoredUserDataException(String message, Throwable cause)
    • InvalidSponsoredUserDataException

      public InvalidSponsoredUserDataException(Throwable cause)
  • Method Details

    • getFriendlyMessageTemplate

      public String getFriendlyMessageTemplate()
      Description copied from class: PerunException
      Return template of a message that is more user friendly and can be displayed in GUI. If an exception doesn't implement this message, returns null as default.

      There can be used placeholder in the template, using format '%{field}%' (e.g.: '%{invalidGroup}%') where the 'group' should be a field of the given exception, that can be accessed.

      Overrides:
      getFriendlyMessageTemplate in class PerunException
      Returns:
      template of a friendly message or null, if no template is defined for given exception