Class SubjectNotExistsException

All Implemented Interfaces:
Serializable

public class SubjectNotExistsException extends EntityNotExistsException
Thrown when the subject with the specific login has not been found in the database
Author:
Martin Kuba
See Also:
Serialized Form
  • Constructor Details

    • SubjectNotExistsException

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

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

      public SubjectNotExistsException(String subject)
      Constructor with the subject
      Parameters:
      subject - that does not exist
  • Method Details

    • getSubject

      public String getSubject()
      Getter for the subject
      Returns:
      subject that does not exist