public class TokenException
extends java.lang.Exception
This class indicates that an unknown error occurred on a CryptoToken.
The nature of CryptoTokens makes such unpredictable errors possible.
For example, a smartcard could be yanked out of its slot in the middle
of a cryptographic operation.