IAIK ECC
version 2.18

iaik.security.ecc
Class ECCException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byiaik.security.ecc.ECCException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AlgorithmException, ECGroupException, FieldException

public class ECCException
extends java.lang.Exception

The superclass of all exceptions thrown by classes of this package (and its subpackages). Every exception instance passes a key (= id) to this class. The ExceptionProperties class performs a lookup between this key and a detailed description of the exception.

See Also:
ExceptionProperties, Serialized Form

Field Summary
protected  java.lang.String key_
          The key value for this exception used for the description lookup.
 
Constructor Summary
ECCException()
          Used if no further exception description is available.
ECCException(java.lang.String key)
          Subclasses should call this constructor with the corresponding key value.
 
Method Summary
 java.lang.String getInfo()
           
 java.lang.String toString()
          Just calls getInfo for system.out
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key_

protected java.lang.String key_
The key value for this exception used for the description lookup.

Constructor Detail

ECCException

public ECCException()
Used if no further exception description is available.


ECCException

public ECCException(java.lang.String key)
Subclasses should call this constructor with the corresponding key value.

Parameters:
key - the id of the exception.
Method Detail

getInfo

public java.lang.String getInfo()
Returns:
information about this exception.

toString

public java.lang.String toString()
Just calls getInfo for system.out


IAIK ECC
version 2.18

IAIK-ECC 2.18, (c) 2002 IAIK, (c) 2003 SIC