public class CardServiceException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
static int |
SW_NONE |
| Constructor and Description |
|---|
CardServiceException(java.lang.String msg)
Creates a CardServiceException.
|
CardServiceException(java.lang.String msg,
int sw)
Creates a CardServiceException with a status word.
|
CardServiceException(java.lang.String msg,
java.lang.Throwable cause)
Creates an exception while indicating the cause.
|
CardServiceException(java.lang.String msg,
java.lang.Throwable cause,
int sw)
Creates an exception while indicating the cause.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Gets the message.
|
int |
getSW()
Gets the status word.
|
public static final int SW_NONE
public CardServiceException(java.lang.String msg)
msg - a messagepublic CardServiceException(java.lang.String msg,
int sw)
msg - a messagesw - the status word that caused this CardServiceExceptionpublic CardServiceException(java.lang.String msg,
java.lang.Throwable cause)
msg - a messagecause - the causepublic CardServiceException(java.lang.String msg,
java.lang.Throwable cause,
int sw)
msg - a messagecause - the causesw - the status word that caused this CardServiceExceptionCopyright © 2023. All rights reserved.