Package st.orm

Class PersistenceException

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

public class PersistenceException extends RuntimeException
Thrown when a database or sql problem occurs.
See Also:
  • Constructor Details

    • PersistenceException

      public PersistenceException()
      Constructs a new PersistenceException exception with null as its detail message.
    • PersistenceException

      public PersistenceException(String message)
      Constructs a new PersistenceException exception with the specified detail message.
      Parameters:
      message - the detail message.
    • PersistenceException

      public PersistenceException(String message, Throwable cause)
      Constructs a new PersistenceException exception with the specified detail message and cause.
      Parameters:
      message - the detail message.
      cause - the cause.
    • PersistenceException

      public PersistenceException(Throwable cause)
      Constructs a new PersistenceException exception with the specified cause.
      Parameters:
      cause - the cause.