Class DataException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EntityExistsException, EntityNotFoundException, NonUniqueResultException, NoResultException, OptimisticLockException

public class DataException extends RuntimeException
A RuntimeException that indicates an operation on a data repository has failed.
See Also:
  • Constructor Details

    • DataException

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

      public DataException(String message, Throwable cause)
      Creates a new DataException 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