Package org.bremersee.ldaptive
Class LdaptiveException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.bremersee.exception.ServiceException
org.bremersee.ldaptive.LdaptiveException
- All Implemented Interfaces:
Serializable,ErrorCodeAware,HttpStatusAware
The ldaptive exception.
- Author:
- Christian Bremer
- See Also:
-
Field Summary
Fields inherited from class org.bremersee.exception.ServiceException
ERROR_CODE_ALREADY_EXISTSFields inherited from interface org.bremersee.exception.ErrorCodeAware
NO_ERROR_CODE_VALUE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLdaptiveException(int httpStatus, String errorCode, String reason, Throwable cause) Instantiates a new ldaptive exception. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new service exception builder.org.ldaptive.LdapExceptionGets ldap exception (can benull).org.ldaptive.ResultCodeGets result code (can benull).Methods inherited from class org.bremersee.exception.ServiceException
alreadyExists, alreadyExists, alreadyExists, alreadyExistsWithErrorCode, alreadyExistsWithErrorCode, badRequest, badRequest, badRequest, badRequest, badRequest, forbidden, forbidden, forbidden, forbiddenWithErrorCode, forbiddenWithErrorCode, forbiddenWithErrorCode, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, notFound, notFound, notFound, notFoundWithErrorCode, notFoundWithErrorCode, statusMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.bremersee.exception.ErrorCodeAware
getErrorCodeMethods inherited from interface org.bremersee.exception.HttpStatusAware
status
-
Constructor Details
-
LdaptiveException
Instantiates a new ldaptive exception.- Parameters:
httpStatus- the http statuserrorCode- the error codereason- the reasoncause- the cause
-
-
Method Details
-
getLdapException
public org.ldaptive.LdapException getLdapException()Gets ldap exception (can benull).- Returns:
- the ldap exception
-
getResultCode
public org.ldaptive.ResultCode getResultCode()Gets result code (can benull).- Returns:
- the result code
-
builder
Creates a new service exception builder.- Returns:
- the service exception builder
-