Package com.hierynomus.mssmb2
Class SMBApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hierynomus.smbj.common.SMBRuntimeException
com.hierynomus.mssmb2.SMBApiException
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsFields inherited from class com.hierynomus.smbj.common.SMBRuntimeException
Wrapper
-
Constructor Summary
ConstructorsConstructorDescriptionSMBApiException
(long status, SMB2MessageCommandCode failedCommand, String message, Throwable t) SMBApiException
(long status, SMB2MessageCommandCode failedCommand, Throwable t) SMBApiException
(SMB2PacketHeader header, String message) SMBApiException
(SMB2PacketHeader header, String message, Throwable t) -
Method Summary
Modifier and TypeMethodDescriptionlong
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
failedCommand
-
statusCode
private long statusCode
-
-
Constructor Details
-
SMBApiException
-
SMBApiException
public SMBApiException(long status, SMB2MessageCommandCode failedCommand, String message, Throwable t) -
SMBApiException
-
SMBApiException
-
-
Method Details
-
getStatus
-
getStatusCode
public long getStatusCode() -
getFailedCommand
-
getMessage
- Overrides:
getMessage
in classThrowable
-