com.linuxnet.jpcsc
Class PCSCException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.linuxnet.jpcsc.PCSCException
All Implemented Interfaces:
java.io.Serializable

public class PCSCException
extends java.lang.RuntimeException

Exception class used for PCSC related errors.

See Also:
Serialized Form

Constructor Summary
PCSCException()
          Default constructor.
PCSCException(java.lang.String msg)
          Constructor.
PCSCException(java.lang.String msg, int reason)
          Constructor.
 
Method Summary
 java.lang.String getMessage()
          Return error message.
 int getReason()
          Return code.
 java.lang.String toString()
          Return symbolic representation of this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PCSCException

public PCSCException()
Default constructor.


PCSCException

public PCSCException(java.lang.String msg)
Constructor.


PCSCException

public PCSCException(java.lang.String msg,
                     int reason)
Constructor.

Method Detail

getReason

public final int getReason()
Return code.


getMessage

public final java.lang.String getMessage()
Return error message.


toString

public final java.lang.String toString()
Return symbolic representation of this exception. Its message, reason code plus symbolic representation of reason code.