Class LDAPOperationException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    LDAPNoSuchEntryException

    public class LDAPOperationException
    extends java.lang.Exception
    An LDAP exception.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      LDAPOperationException​(java.lang.String message)
      Creates a new instance of LDAPOperationException
      LDAPOperationException​(java.lang.String message, int errCode)
      Creates a new instance of LDAPOperationException
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static LDAPOperationException createLDAPException​(java.lang.String message)  
      int getErrorCode()  
      void setErrorCode​(int errorCode)  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LDAPOperationException

        public LDAPOperationException​(java.lang.String message)
        Creates a new instance of LDAPOperationException
        Parameters:
        message - -- Error Reason
      • LDAPOperationException

        public LDAPOperationException​(java.lang.String message,
                                      int errCode)
        Creates a new instance of LDAPOperationException
        Parameters:
        message - -- Error Reason
        errCode - -- Error Lookup Code
    • Method Detail

      • setErrorCode

        public void setErrorCode​(int errorCode)
      • getErrorCode

        public int getErrorCode()
      • createLDAPException

        public static LDAPOperationException createLDAPException​(java.lang.String message)