xjava.security
Class WeakKeyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by java.security.KeyException
                  extended by xjava.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

Constructor Summary
WeakKeyException()
          Constructs a WeakKeyException without any detail message.
WeakKeyException(java.lang.String msg)
          Constructs a WeakKeyException with the specified detail message.
 
Method Summary
 
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.