java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.codelibs.jcifs.smb.CIFSException
org.codelibs.jcifs.smb.dcerpc.DcerpcException
- All Implemented Interfaces:
Serializable,DcerpcError,WinError
Exception class for DCE/RPC related errors.
This exception is thrown when DCE/RPC protocol errors occur.
- See Also:
-
Field Summary
Fields inherited from interface org.codelibs.jcifs.smb.dcerpc.DcerpcError
DCERPC_FAULT_ACCESS_DENIED, DCERPC_FAULT_CANT_PERFORM, DCERPC_FAULT_CODES, DCERPC_FAULT_CONTEXT_MISMATCH, DCERPC_FAULT_INVALID_TAG, DCERPC_FAULT_MESSAGES, DCERPC_FAULT_NDR, DCERPC_FAULT_OP_RNG_ERROR, DCERPC_FAULT_OTHER, DCERPC_FAULT_PROTO_ERROR, DCERPC_FAULT_UNK_IFFields inherited from interface org.codelibs.jcifs.smb.impl.WinError
ERROR_ACCESS_DENIED, ERROR_BAD_PIPE, ERROR_MORE_DATA, ERROR_NO_BROWSER_SERVERS_FOUND, ERROR_NO_DATA, ERROR_PIPE_BUSY, ERROR_PIPE_NOT_CONNECTED, ERROR_REQ_NOT_ACCEP, ERROR_SERVICE_NOT_INSTALLED, ERROR_SUCCESS, WINERR_CODES, WINERR_MESSAGES -
Constructor Summary
ConstructorsConstructorDescriptionDcerpcException(String msg) Constructs a DcerpcException with the specified messageDcerpcException(String msg, Throwable rootCause) Constructs a DcerpcException with the specified message and root cause -
Method Summary
Modifier and TypeMethodDescriptionintReturns the DCE/RPC error code associated with this exceptionDeprecated.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DcerpcException
Constructs a DcerpcException with the specified message- Parameters:
msg- the error message
-
DcerpcException
Constructs a DcerpcException with the specified message and root cause- Parameters:
msg- the error messagerootCause- 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.- Returns:
- the root cause
-
Throwable.getCause()