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 cz.metacentrum.perun.core.api.exceptions.PerunException
getErrorId, getFriendlyMessageTemplate, getMessage, getName, setErrorId
Methods inherited from class java.lang.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
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
AlreadyReservedLoginException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
AlreadyReservedLoginException
Constructor with the namespace and the login- Parameters:
namespace
- namespace for loginlogin
- login
-
-
Method Details
-
getLogin
Getter for the login- Returns:
- login which is reserved
-
getNamespace
Getter for the namespace for login- Returns:
- namespace for login
-