xjava.security

Class WeakKeyException


public class WeakKeyException
extends 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.

Constructor Summary

WeakKeyException()
Constructs a WeakKeyException without any detail message.
WeakKeyException(String msg)
Constructs a WeakKeyException with the specified detail message.

Constructor Details

WeakKeyException

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


WeakKeyException

public WeakKeyException(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.