Class PersistenceServiceException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PersistenceServiceException
    extends java.lang.Exception
    An instance of this class is thrown when storing or loading a persistent object graph to or from an XML file has failed. This exception is always instantiated with a valid cause. Its detail message is copied from the localized detail message of the cause.
    Author:
    Christian Schlichtherle
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PersistenceServiceException​(java.lang.Throwable cause)
      Constructs an instance of PersistenceServiceException with the specified cause.
    • 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

      • PersistenceServiceException

        public PersistenceServiceException​(java.lang.Throwable cause)
        Constructs an instance of PersistenceServiceException with the specified cause.
        Parameters:
        cause - The cause for this exception to be thrown.
        Throws:
        java.lang.NullPointerException - If cause is null.