Class GroupNotExistsException

All Implemented Interfaces:
Serializable

public class GroupNotExistsException extends EntityNotExistsException
This exception is thrown when trying to get a group which does not exist in the database
Author:
Martin Kuba
See Also:
Serialized Form
  • Constructor Details

    • GroupNotExistsException

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

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

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

      public GroupNotExistsException(Group group)
      Constructor with the group that does not exist
      Parameters:
      group - the group
  • Method Details

    • getGroup

      public Group getGroup()
      Getter for the group that does not exist
      Returns:
      the group that does not exist