com.monica.javacom.ciphering
Class LoadKeyException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.monica.javacom.ciphering.LoadKeyException
All Implemented Interfaces:
java.io.Serializable

public class LoadKeyException
extends java.lang.Exception

Thrown by the constructors of classes AESKey and RSAKey if the input value is not recognized as a valid string-representation of the respective keys.

See Also:
AESKey.AESKey(String), RSAKey.RSAKey(String), RSAKeyPair.RSAKeyPair(String), Serialized Form

Constructor Summary
LoadKeyException()
          Constructs a LoadKeyException with no detail message.
LoadKeyException(java.lang.String text)
          Constructs a LoadKeyException with the specified detail message.
 
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

LoadKeyException

public LoadKeyException()
Constructs a LoadKeyException with no detail message.

LoadKeyException

public LoadKeyException(java.lang.String text)
Constructs a LoadKeyException with the specified detail message.
Parameters:
text - the detail message