Class LdaptiveException

All Implemented Interfaces:
Serializable, ErrorCodeAware, HttpStatusAware

public class LdaptiveException extends ServiceException implements HttpStatusAware, ErrorCodeAware
The ldaptive exception.
Author:
Christian Bremer
See Also:
  • Constructor Details

    • LdaptiveException

      protected LdaptiveException(int httpStatus, String errorCode, String reason, Throwable cause)
      Instantiates a new ldaptive exception.
      Parameters:
      httpStatus - the http status
      errorCode - the error code
      reason - the reason
      cause - the cause
  • Method Details

    • getLdapException

      public org.ldaptive.LdapException getLdapException()
      Gets ldap exception (can be null).
      Returns:
      the ldap exception
    • getResultCode

      public org.ldaptive.ResultCode getResultCode()
      Gets result code (can be null).
      Returns:
      the result code
    • builder

      public static ServiceExceptionBuilder<LdaptiveException> builder()
      Creates a new service exception builder.
      Returns:
      the service exception builder