APIdia Launch Partner
Top Description Fields Constructors
javax.smartcardio

public Class CardException

extends Exception
Class Inheritance
Known Direct Subclasses
javax.smartcardio.CardNotPresentException

Exception for errors that occur during communication with the Smart Card stack or the card itself.
Authors
Andreas Sterbenz, JSR 268 Expert Group
Since
1.6

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
CardException(String
the detail message
message
)

Constructs a new CardException with the specified detail message.

public
CardException(Throwable
the cause of this exception or null
cause
)

Constructs a new CardException with the specified cause and a detail message of (cause==null ?

public
CardException(String
the detail message
message
,
Throwable
the cause of this exception or null
cause
)

Constructs a new CardException with the specified detail message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Constructor Detail

CardExceptionback to summary
public CardException(String message)

Constructs a new CardException with the specified detail message.

Parameters
message:String

the detail message

CardExceptionback to summary
public CardException(Throwable cause)

Constructs a new CardException with the specified cause and a detail message of (cause==null ? null : cause.toString()).

Parameters
cause:Throwable

the cause of this exception or null

CardExceptionback to summary
public CardException(String message, Throwable cause)

Constructs a new CardException with the specified detail message and cause.

Parameters
message:String

the detail message

cause:Throwable

the cause of this exception or null