xjava.security
Class WeakKeyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.security.GeneralSecurityException
              extended byjava.security.KeyException
                  extended byxjava.security.WeakKeyException
All Implemented Interfaces:
java.io.Serializable

public class WeakKeyException
extends java.security.KeyException

WeakKeyException is thrown when a weak key would have been generated (e.g. by a KeyGenerator).

This class is not supported in JavaSoft's version of JCE.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
WeakKeyException()
          Constructs a WeakKeyException without any detail message.
WeakKeyException(java.lang.String msg)
          Constructs a WeakKeyException with the specified detail message.
 
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

WeakKeyException

public WeakKeyException()
Constructs a WeakKeyException without any detail message.


WeakKeyException

public WeakKeyException(java.lang.String msg)
Constructs a WeakKeyException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters:
msg - the detail message.