-
- All Implemented Interfaces:
-
java.io.Serializable
public final class DataProtect extends SenseException
Data medium is read or write protected.
Recommended action: stop and tell user to disable read/write protection.
-
-
Field Summary
Fields Modifier and Type Field Description private final BytesenseKeyprivate final ByteadditionalSenseCodeprivate final ByteadditionalSenseCodeQualifierprivate final Throwablecauseprivate final Stringmessage
-
Constructor Summary
Constructors Constructor Description DataProtect(ScsiRequestSenseResponse response)
-
Method Summary
Modifier and Type Method Description final BytegetSenseKey()final BytegetAdditionalSenseCode()final BytegetAdditionalSenseCodeQualifier()ThrowablegetCause()StringgetMessage()-
Methods inherited from class java.lang.Exception
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DataProtect
DataProtect(ScsiRequestSenseResponse response)
-
-
Method Detail
-
getSenseKey
final Byte getSenseKey()
-
getAdditionalSenseCode
final Byte getAdditionalSenseCode()
-
getAdditionalSenseCodeQualifier
final Byte getAdditionalSenseCodeQualifier()
-
getMessage
String getMessage()
-
-
-
-