xjava.security
Class InvalidKeyFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by xjava.security.GeneralSecurityException
              extended by xjava.security.InvalidKeyFormatException
All Implemented Interfaces:
java.io.Serializable

public class InvalidKeyFormatException
extends GeneralSecurityException

InvalidKeyFormatException is thrown when a key format is not recognized. (Current valid formats for the "SUN" provider include "X.509", "PKCS#8", "RAW-BigInteger", and "RAW-DER".)

This class is documented in JavaSoft's preview APIs, for introduction in Java 1.2.

$Revision: 1.2 $

Since:
IJCE 1.0.1
Author:
David Hopwood
See Also:
Serialized Form

Constructor Summary
InvalidKeyFormatException()
          Constructs an InvalidKeyFormatException without any detail message.
InvalidKeyFormatException(java.lang.String msg)
          Constructs an InvalidKeyFormatException 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

InvalidKeyFormatException

public InvalidKeyFormatException()
Constructs an InvalidKeyFormatException without any detail message.


InvalidKeyFormatException

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

Parameters:
msg - the detail message.