public class CardServiceException extends Exception
| Modifier and Type | Field and Description |
|---|---|
static int |
SW_NONE |
| Constructor and Description |
|---|
CardServiceException(String msg)
Creates a CardServiceException.
|
CardServiceException(String msg,
int sw)
Creates a CardServiceException with a status word.
|
CardServiceException(String msg,
Throwable cause)
Creates an exception while indicating the cause.
|
CardServiceException(String msg,
Throwable cause,
int sw)
Creates an exception while indicating the cause.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Gets the message.
|
int |
getSW()
Gets the status word.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int SW_NONE
public CardServiceException(String msg)
msg - a messagepublic CardServiceException(String msg, int sw)
msg - a messagesw - the status word that caused this CardServiceExceptionpublic CardServiceException(String msg, Throwable cause)
msg - a messagecause - the causepublic String getMessage()
getMessage in class Throwablepublic int getSW()
Copyright © 2020. All rights reserved.