Class PersistenceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.ssehub.easy.producer.core.persistence.PersistenceException
-
- All Implemented Interfaces:
java.io.Serializable
public class PersistenceException extends java.lang.ExceptionException 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 aPersistenceException.
-
-
-
Constructor Detail
-
PersistenceException
public PersistenceException(java.lang.Throwable cause)
Constructor for this class for transforming one exception into aPersistenceException.- 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 theThrowable.getMessage()method.
-
-