Module jcifs

Class DcerpcException

All Implemented Interfaces:
Serializable, DcerpcError, WinError

public class DcerpcException extends CIFSException implements DcerpcError, WinError
Exception class for DCE/RPC related errors. This exception is thrown when DCE/RPC protocol errors occur.
See Also:
  • Constructor Details

    • DcerpcException

      public DcerpcException(String msg)
      Constructs a DcerpcException with the specified message
      Parameters:
      msg - the error message
    • DcerpcException

      public DcerpcException(String msg, Throwable rootCause)
      Constructs a DcerpcException with the specified message and root cause
      Parameters:
      msg - the error message
      rootCause - the underlying cause of this exception
  • Method Details

    • getErrorCode

      public int getErrorCode()
      Returns the DCE/RPC error code associated with this exception
      Returns:
      the error code
    • getRootCause

      @Deprecated public Throwable getRootCause()
      Deprecated.
      Returns:
      the root cause