Class PersistenceException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PersistenceException
    extends java.lang.Exception
    Exception for errors occuring during save/load operations.
    Author:
    El-Sharkawy
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PersistenceException​(java.lang.String message)
      Constructor for this class for creating an exception with a specified error message.
      PersistenceException​(java.lang.Throwable cause)
      Constructor for this class for transforming one exception into a PersistenceException.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PersistenceException

        public PersistenceException​(java.lang.Throwable cause)
        Constructor for this class for transforming one exception into a PersistenceException.
        Parameters:
        cause - The origin exception which should be transformed.
      • PersistenceException

        public PersistenceException​(java.lang.String message)
        Constructor for this class for creating an exception with a specified error message.
        Parameters:
        message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.