Class LDAPOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.hybris.platform.ldap.exception.LDAPOperationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LDAPNoSuchEntryException
An LDAP exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLDAPOperationException(String message) Creates a new instance of LDAPOperationExceptionLDAPOperationException(String message, int errCode) Creates a new instance of LDAPOperationException -
Method Summary
Modifier and TypeMethodDescriptionstatic LDAPOperationExceptioncreateLDAPException(String message) intvoidsetErrorCode(int errorCode) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LDAPOperationException
Creates a new instance of LDAPOperationException- Parameters:
message- -- Error Reason
-
LDAPOperationException
Creates a new instance of LDAPOperationException- Parameters:
message- -- Error ReasonerrCode- -- Error Lookup Code
-
-
Method Details
-
setErrorCode
public void setErrorCode(int errorCode) -
getErrorCode
public int getErrorCode() -
createLDAPException
-