Class PersistenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.codename1.orm.session.PersistenceException
- Direct Known Subclasses:
LazyInitializationException, OptimisticLockException
An ORM failure, including an underlying database failure during lazy access.
-
Constructor Summary
ConstructorsConstructorDescriptionPersistenceException(String message) Creates an exception describing the persistence failure.PersistenceException(String message, Throwable cause) Creates an exception retaining the underlying failure. -
Method Summary
Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PersistenceException
Creates an exception describing the persistence failure.- Parameters:
message- failure description
-
PersistenceException
-