public class AccessDeniedException
extends net.sf.scuba.smartcards.CardServiceException
Constructor and Description |
---|
AccessDeniedException(String msg,
AccessKeySpec bacKey,
int sw)
Creates an exception.
|
AccessDeniedException(String msg,
int sw)
Creates an exception.
|
Modifier and Type | Method and Description |
---|---|
AccessKeySpec |
getAccessKey()
Returns the BAC key that was tried before BAC failed.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AccessDeniedException(String msg, int sw)
msg
- the messagesw
- status word or -1
public AccessDeniedException(String msg, AccessKeySpec bacKey, int sw)
msg
- the messagebacKey
- the BAC entry that was tried, or null
sw
- status word or -1
public AccessKeySpec getAccessKey()
Copyright © 2020. All rights reserved.