Class LdaptiveException

    • Constructor Detail

      • LdaptiveException

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

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

        protected LdaptiveException​(int httpStatus,
                                    String errorCode,
                                    Throwable cause)
        Instantiates a new ldaptive exception.
        Parameters:
        httpStatus - the http status
        errorCode - the error code
        cause - the cause
      • 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 Detail

      • 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