Package org.eclipse.keypop.storagecard
Class ReaderIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.keypop.storagecard.StorageCardException
org.eclipse.keypop.storagecard.ReaderIOException
- All Implemented Interfaces:
Serializable
Indicates an input/output error that occurred while communicating with the card reader.
This exception reflects low-level reader communication failures, such as a lost connection,
hardware malfunction, or driver-related issues, preventing the command from being transmitted to
the StorageCard
.
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReaderIOException
(Integer blockAddress, String message) Creates a new exception indicating a reader communication error during the execution of a storage card command.ReaderIOException
(Integer blockAddress, String message, Throwable cause) Creates a new exception indicating a reader communication error during the execution of a storage card command, with an underlying cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ReaderIOException
Creates a new exception indicating a reader communication error during the execution of a storage card command.- Parameters:
blockAddress
- The block address involved in the error, ornull
if not relevant.message
- The message describing the exception context.- Since:
- 1.0.0
-
ReaderIOException
Creates a new exception indicating a reader communication error during the execution of a storage card command, with an underlying cause.- Parameters:
blockAddress
- The block address involved in the error, ornull
if not relevant.message
- The message describing the exception context.cause
- The underlying cause of the exception.- Since:
- 1.0.0
-