Class OwnerNotExistsException

All Implemented Interfaces:
Serializable

public class OwnerNotExistsException extends EntityNotExistsException
This exception is thrown when the owner does not exist in the database
Author:
Slavek Licehammer
See Also:
  • Constructor Details

    • OwnerNotExistsException

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

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

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

      public OwnerNotExistsException(Owner owner)
      Constructor with the owner
      Parameters:
      owner - owner that does not exist
  • Method Details

    • getOwner

      public Owner getOwner()
      Getter for the owner
      Returns:
      owner that does not exist