Class NotBoundException

All Implemented Interfaces:
SWIG_DSAPIConstants, Serializable
Direct Known Subclasses:
ConnectionLostException, VerificationFailedException

public class NotBoundException extends DSAPIException
Thrown when a bind attempt fails, or an attempt is made to communicate with the directory before a successful bind has been performed, or after a connection has been lost.
Author:
nh
See Also:
  • Constructor Details

    • NotBoundException

      public NotBoundException(String message, int nativeErrorCode)
      Constructs a new NotBoundException with the specified message and error code
      Parameters:
      message - gives extra detail about the specific exception.
      nativeErrorCode - a value as returned from underlying native code which may be useful in determining the cause of the problem.
    • NotBoundException

      public NotBoundException(String message)
      Constructs a new NotBoundException with the specified message.
      Parameters:
      message - gives extra detail about the specific exception.
    • NotBoundException

      public NotBoundException(String message, Throwable cause)
      Constructs a new NotBoundException with the specified message and cause.
      Parameters:
      message - gives extra detail about the specific exception. This can be retrieved via the Throwable.getMessage() method. This can be null, in this case Throwable.getMessage() will return null too.
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      Since:
      16.0