Class AlreadyReservedLoginException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.AlreadyReservedLoginException
- All Implemented Interfaces:
Serializable
This exception is thrown when the user's login is already reserved and thus not unique
- Author:
- Michal Šťava
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAlreadyReservedLoginException(String message) Simple constructor with a messageAlreadyReservedLoginException(String namespace, String login) Constructor with the namespace and the loginAlreadyReservedLoginException(String message, Throwable cause) Constructor with a message and Throwable objectConstructor with a Throwable object -
Method Summary
Modifier and TypeMethodDescriptiongetLogin()Getter for the loginGetter for the namespace for loginMethods inherited from class PerunException
getErrorId, getFriendlyMessageTemplate, getMessage, getName, setErrorIdMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AlreadyReservedLoginException
Simple constructor with a message- Parameters:
message- message with details about the cause
-
AlreadyReservedLoginException
-
AlreadyReservedLoginException
Constructor with a Throwable object- Parameters:
cause- Throwable that caused throwing of this exception
-
AlreadyReservedLoginException
-
-
Method Details
-
getLogin
-
getNamespace
-