com.pheox.jcapi
Class JCAPIInvalidPINCodeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.pheox.jcapi.JCAPIInvalidPINCodeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
JCAPIJNIInvalidPINCodeException

public class JCAPIInvalidPINCodeException
extends java.lang.RuntimeException

This class is used for indicating an invalid input of a required password/PIN for a protected private key. This occur when a user enters the wrong password/PIN code during decryption, or when a signature is to be made.
This exception is never caught by JCAPI Java classes, so a user of JCAPI might have to catch this runtime exception outside JCAPI if required.

If a method in JCAPI can throw this exception, then it is specified in the Javadoc for each method, even though it is a runtime exception.

To learn more about how this class can be used, please look at the following example programs that can be found in JCAPI's examples directory, by default located in C:\<application data directory>\JCAPI\examples:

Since:
1.1
See Also:
Serialized Form

Constructor Summary
JCAPIInvalidPINCodeException()
          Default constructor.
JCAPIInvalidPINCodeException(java.lang.String message)
          Constructor.
 
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

JCAPIInvalidPINCodeException

public JCAPIInvalidPINCodeException()
Default constructor.

Since:
1.1

JCAPIInvalidPINCodeException

public JCAPIInvalidPINCodeException(java.lang.String message)
Constructor.

Parameters:
message - the exception message.
Since:
1.1


Copyright © 2011 Pheox. All Rights Reserved.