Name

InvalidParameterException

Synopsis

This subclass of java.lang.IllegalArgumentException signals that a parameter passed to a security method is not valid. This exception type is not widely used.

java.security.InvalidParameterException

Figure 14-16. java.security.InvalidParameterException

public class InvalidParameterException extends IllegalArgumentException {
// Public Constructors
     public InvalidParameterException( );  
     public InvalidParameterException(String msg);  
}

Thrown By

Signature.{getParameter( ), setParameter( )}, SignatureSpi.{engineGetParameter( ), engineSetParameter( )}, Signer.setKeyPair( ), java.security.interfaces.DSAKeyPairGenerator.initialize( )

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.