org.logi.crypto.keys
Class KeyException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.logi.crypto.CryptoException
|
+--org.logi.crypto.keys.KeyException
- 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.
- Author:
- Logi Ragnarsson
(logir@logi.org)
- 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,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
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.
Copyright 1997-2000 Logi Ragnarsson