de.flexiprovider.common.exceptions
Class CurveNotFoundException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--de.flexiprovider.common.exceptions.ECException
                          |
                          +--de.flexiprovider.common.exceptions.CurveNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class CurveNotFoundException
extends ECException

This exception is thrown, if the given object identifier of a curve cannot be found, that means, is not provided by this provider.

Author:
Birgit Henhapl
See Also:
Point, PointGFP, Serialized Form

Constructor Summary
CurveNotFoundException()
          Default constructor.
CurveNotFoundException(java.lang.String oid)
          Constructor with the message "This curve OID is not found in the provided file: oid
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CurveNotFoundException

public CurveNotFoundException()
Default constructor. Calls super-constructor with the message "This curve OID is not found in the provided file."

CurveNotFoundException

public CurveNotFoundException(java.lang.String oid)
Constructor with the message "This curve OID is not found in the provided file: oid
Parameters:
oid - the oid not recognized by the provider