Class EntityNotFoundException

All Implemented Interfaces:
Serializable

public class EntityNotFoundException extends DataException
Thrown when requested persistence entity cannot be found.
See Also:
  • Constructor Details

    • EntityNotFoundException

      public EntityNotFoundException(String message)
      Creates a new EntityNotFoundException with the supplied detail message.
      Parameters:
      message - descriptive message, shall not be null
      Throws:
      NullPointerException - when message is null
    • EntityNotFoundException

      public EntityNotFoundException(String message, Throwable cause)
      Creates a new EntityNotFoundException with the supplied detail message and cause.
      Parameters:
      message - descriptive message, shall not be null
      cause - original throwable causing this exception, shall not be null
      Throws:
      NullPointerException - when message or cause is null