Package com.meawallet.mtp
Class MeaCheckedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.meawallet.mtp.MeaCheckedException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
InitializationFailedException
,InvalidInputException
,MeaCardException
,MeaDeviceLockedException
,MeaException
,NotInitializedException
,NotRegisteredException
public class MeaCheckedException extends java.lang.Exception
Generic MeaWallet Exception class It provides an interface for all the exception classes to be used within MeaWallet modules- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCardId()
Get card ID for card related to this exception.java.lang.String
getEligibilityReceipt()
Get eligibility receipt for card related to this exception.int
getErrorCode()
Returns error codeMeaErrorCode
.MeaError
getMeaError()
Get the Error related to the Exception
-
-
-
Method Detail
-
getMeaError
public MeaError getMeaError()
Get the Error related to the Exception- Returns:
- The Error Code which is associated with the exception
-
getCardId
@Nullable public java.lang.String getCardId()
Get card ID for card related to this exception.- Returns:
- Card ID associated with tihs exception.
-
getEligibilityReceipt
@Nullable public java.lang.String getEligibilityReceipt()
Get eligibility receipt for card related to this exception.- Returns:
- Eligibility receipt associated with this exception.
-
getErrorCode
public int getErrorCode()
Returns error codeMeaErrorCode
.- Returns:
- Failure error code
MeaErrorCode
-
-