Package io.jans.orm.exception.operation
Class PersistenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.jans.orm.exception.operation.PersistenceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DeleteException,DuplicateEntryException,EntryConvertationException,EntryNotFoundException,IncompatibleTypeException,SearchException,SearchScopeException
Generic operation layer exception
- Author:
- Yuriy Movchan Date: 29/01/2018
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPersistenceException(String message) Constructor with detailed errorPersistenceException(String message, int errorCode) PersistenceException(String message, Throwable e) Constructor with error and wrapped exceptionPersistenceException(String message, Throwable e, int errorCode) Constructor with wrapped exceptionPersistenceException(Throwable e, int errorCode) -
Method Summary
Modifier and TypeMethodDescriptionintGet the LDAP error codevoidsetErrorCode(int code) Set the LDAP error codetoString()Get the message for displayMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
PersistenceException
Constructor with wrapped exception- Parameters:
e- Wrapped LDAP exception
-
PersistenceException
-
PersistenceException
Constructor with detailed error- Parameters:
message- Detailed message
-
PersistenceException
-
PersistenceException
Constructor with error and wrapped exception- Parameters:
message- Detailed errore- Wrapped LDAP exception
-
PersistenceException
-
-
Method Details