Class DirectoryOperationFailedException

  • All Implemented Interfaces:
    SWIG_DSAPIConstants, java.io.Serializable

    public class DirectoryOperationFailedException
    extends DSAPIException
    Thrown when an an error is returned from the underlying DSAPI library which indicates that an error resulted from an attempt to perform a directory operation.

    This exception is typically thrown when a call to DSAPI returns a status of DS_E_DSOPFAILED and a NULL indication structure.

    See Also:
    Serialized Form
    • Constructor Detail

      • DirectoryOperationFailedException

        public DirectoryOperationFailedException​(java.lang.String message,
                                                 int nativeErrorCode)
        Constructs a new object using 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.
      • DirectoryOperationFailedException

        public DirectoryOperationFailedException​(java.lang.String message)
        Constructs a new object with the specified message.
        Parameters:
        message - gives extra detail about the specific exception.