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:
java.io.Serializable
public class SMBApiException extends SMBRuntimeException
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.hierynomus.smbj.common.SMBRuntimeException
Wrapper
-
-
Constructor Summary
Constructors Constructor Description SMBApiException(long status, SMB2MessageCommandCode failedCommand, java.lang.String message, java.lang.Throwable t)
SMBApiException(long status, SMB2MessageCommandCode failedCommand, java.lang.Throwable t)
SMBApiException(SMB2PacketHeader header, java.lang.String message)
SMBApiException(SMB2PacketHeader header, java.lang.String message, java.lang.Throwable t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SMB2MessageCommandCode
getFailedCommand()
java.lang.String
getMessage()
NtStatus
getStatus()
long
getStatusCode()
-
-
-
Constructor Detail
-
SMBApiException
public SMBApiException(long status, SMB2MessageCommandCode failedCommand, java.lang.Throwable t)
-
SMBApiException
public SMBApiException(long status, SMB2MessageCommandCode failedCommand, java.lang.String message, java.lang.Throwable t)
-
SMBApiException
public SMBApiException(SMB2PacketHeader header, java.lang.String message)
-
SMBApiException
public SMBApiException(SMB2PacketHeader header, java.lang.String message, java.lang.Throwable t)
-
-
Method Detail
-
getStatus
public NtStatus getStatus()
-
getStatusCode
public long getStatusCode()
-
getFailedCommand
public SMB2MessageCommandCode getFailedCommand()
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
-