APIdia Launch Partner
Top Description Fields Constructors
javax.smartcardio

public Class CardNotPresentException

extends CardException
Class Inheritance

Exception thrown when an application tries to establish a connection with a terminal that has no card present.
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
CardNotPresentException(String
the detail message
message
)

Constructs a new CardNotPresentException with the specified detail message.

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

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

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

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

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.smartcardio.CardException.serialVersionUID.

Constructor Detail

CardNotPresentExceptionback to summary
public CardNotPresentException(String message)

Constructs a new CardNotPresentException with the specified detail message.

Parameters
message:String

the detail message

CardNotPresentExceptionback to summary
public CardNotPresentException(Throwable cause)

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

Parameters
cause:Throwable

the cause of this exception or null

CardNotPresentExceptionback to summary
public CardNotPresentException(String message, Throwable cause)

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

Parameters
message:String

the detail message

cause:Throwable

the cause of this exception or null