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

public class AlreadyReservedLoginException extends PerunException
This exception is thrown when the user's login is already reserved and thus not unique
Author:
Michal Šťava
See Also:
  • cz.metacentrum.perun.core.api.exceptions.rt.AlreadyReservedLoginException
  • Serialized Form
  • Constructor Details

    • AlreadyReservedLoginException

      public AlreadyReservedLoginException(String message)
      Simple constructor with a message
      Parameters:
      message - message with details about the cause
    • AlreadyReservedLoginException

      public AlreadyReservedLoginException(String message, Throwable cause)
      Constructor with a message and Throwable object
      Parameters:
      message - message with details about the cause
      cause - Throwable that caused throwing of this exception
    • AlreadyReservedLoginException

      public AlreadyReservedLoginException(Throwable cause)
      Constructor with a Throwable object
      Parameters:
      cause - Throwable that caused throwing of this exception
    • AlreadyReservedLoginException

      public AlreadyReservedLoginException(String namespace, String login)
      Constructor with the namespace and the login
      Parameters:
      namespace - namespace for login
      login - login
  • Method Details

    • getLogin

      public String getLogin()
      Getter for the login
      Returns:
      login which is reserved
    • getNamespace

      public String getNamespace()
      Getter for the namespace for login
      Returns:
      namespace for login