org.mozilla.jss.crypto
Class TokenException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.mozilla.jss.crypto.TokenException
All Implemented Interfaces:
java.io.Serializable

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.

See Also:
Serialized Form

Constructor Summary
TokenException()
           
TokenException(java.lang.String mesg)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TokenException

public TokenException()

TokenException

public TokenException(java.lang.String mesg)