Module jcifs

Class DcerpcException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.codelibs.jcifs.smb1.dcerpc.DcerpcException
All Implemented Interfaces:
Serializable, DcerpcError, WinError

public class DcerpcException extends IOException implements DcerpcError, WinError
DCE/RPC exception class for SMB1 compatibility
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

      public Throwable getRootCause()
      Returns the root cause of this exception
      Returns:
      the root cause throwable
    • toString

      public String toString()
      Overrides:
      toString in class Throwable