Class UserNotExistsException

All Implemented Interfaces:
Serializable

public class UserNotExistsException extends EntityNotExistsException
Thrown when the user has not been found in the database
Author:
Martin Kuba
See Also:
  • Constructor Details

    • UserNotExistsException

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

      public UserNotExistsException(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
    • UserNotExistsException

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

      public UserNotExistsException(User user)
      Constructor with the user
      Parameters:
      user - user who does not exist
  • Method Details

    • getUser

      public User getUser()
      Getter for the user
      Returns:
      user who does not exist