public class CardServiceProtocolException
extends net.sf.scuba.smartcards.CardServiceException
Constructor and Description |
---|
CardServiceProtocolException(String msg,
int step)
Creates a
CardServiceProtocolException . |
CardServiceProtocolException(String msg,
int step,
int sw)
Creates a
CardServiceProtocolException with a specific status word. |
CardServiceProtocolException(String msg,
int step,
Throwable cause)
Creates a
CardServiceProtocolException . |
CardServiceProtocolException(String msg,
int step,
Throwable cause,
int sw)
Creates a
CardServiceProtocolException with a specific status word. |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
int |
getStep()
Identifies the protocol step that failed.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CardServiceProtocolException(String msg, int step)
CardServiceProtocolException
.msg
- a messagestep
- the protocol step that failedpublic CardServiceProtocolException(String msg, int step, Throwable cause)
CardServiceProtocolException
.msg
- a messagestep
- the protocol step that failedcause
- the exception causing this exceptionpublic CardServiceProtocolException(String msg, int step, int sw)
CardServiceProtocolException
with a specific status word.msg
- a messagestep
- the protocol step that failedsw
- the status word that caused this CardServiceExceptionpublic CardServiceProtocolException(String msg, int step, Throwable cause, int sw)
CardServiceProtocolException
with a specific status word.msg
- a messagestep
- the protocol step that failedcause
- the exception causing this exceptionsw
- the status word that caused this CardServiceExceptionpublic int getStep()
public String getMessage()
getMessage
in class net.sf.scuba.smartcards.CardServiceException
Copyright © 2023. All rights reserved.