org.logi.crypto.keys
Class KeyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.logi.crypto.CryptoException
              extended byorg.logi.crypto.keys.KeyException
All Implemented Interfaces:
java.io.Serializable

public class KeyException
extends CryptoException

This exception is thrown when there is a problem with a key object. This hapens if a key can't be found, a key is too short for a particular purpose, a public key is used where a private key is expected, etc.

See Also:
Serialized Form

Constructor Summary
KeyException()
          Create a new KeyException with no message.
KeyException(java.lang.String msg)
          Create a new KeyException with the message msg.
 
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

KeyException

public KeyException()
Create a new KeyException with no message.


KeyException

public KeyException(java.lang.String msg)
Create a new KeyException with the message msg.