Module de.seggebaeing.sqlanalyzer
Class PersistenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.seggebaeing.sqlanalyzer.persistence.exception.PersistenceException
- All Implemented Interfaces:
Serializable
Exception type for errors in the de.seggebaeing.sqlanalyzer.persistence layer.
Signals failures during saving, loading, or deleting persistable objects, such as I/O errors, invalid JSON, or version conflicts.
- Since:
- 1.0
- Author:
- Felix Seggebäing
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPersistenceException
(String message) Creates a newPersistenceException
with the given message.PersistenceException
(String message, Throwable cause) Creates a newPersistenceException
with the given message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PersistenceException
Creates a newPersistenceException
with the given message.- Parameters:
message
- detail message describing the error
-
PersistenceException
Creates a newPersistenceException
with the given message and cause.- Parameters:
message
- detail message describing the errorcause
- the underlying cause of the exception
-