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
- Author:
- Vojtech Sassmann invalid input: '<'vojtech.sassmann@gmail.com>
- See Also:
-
Constructor Summary
ConstructorDescriptionInvalidSponsoredUserDataException
(String message) InvalidSponsoredUserDataException
(String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionReturn template of a message that is more user friendly and can be displayed in GUI.Methods inherited from class cz.metacentrum.perun.core.api.exceptions.PerunException
getErrorId, getMessage, getName, setErrorId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidSponsoredUserDataException
public InvalidSponsoredUserDataException() -
InvalidSponsoredUserDataException
-
InvalidSponsoredUserDataException
-
InvalidSponsoredUserDataException
-
-
Method Details
-
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 classPerunException
- Returns:
- template of a friendly message or null, if no template is defined for given exception
-