Interface StorageCardException

All Known Implementing Classes:
SCCardCommunicationException, SCInvalidCardResponseException, SCReaderCommunicationException

public interface StorageCardException
Interface for exceptions occurring during the execution of a command on a StorageCard.

It provides additional context about the block address involved in the error, when applicable.

Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the address of the block involved in the error, if applicable.
  • Method Details

    • getBlockAddress

      Integer getBlockAddress()
      Returns the address of the block involved in the error, if applicable.
      Returns:
      The block address that caused the error, or null if not relevant.
      Since:
      1.0.0