com.monica.javacom.ciphering
Class BadInputValueException

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

public class BadInputValueException
extends java.lang.Exception

Thrown by the constructors and different set- methods in classes AES and RSA to indicate that an input value was out of range.

See Also:
AES.AES(AESKey, int), AES.setNumberOfRounds(int), AESKeyGenerator.AESKeyGenerator(int, Random), AESKeyGenerator.setKeyLength(int), RSAKeyPairGenerator.RSAKeyPairGenerator(int, int, int, Random), RSAKeyPairGenerator.setKeyLength(int), RSAKeyPairGenerator.setCertainty(int), RSAKeyPairGenerator.setPublicKey(int), Serialized Form

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

BadInputValueException

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

BadInputValueException

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