All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iaik.x509.extensions.ExtensionException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----iaik.x509.extensions.ExtensionException

public class ExtensionException
extends Exception
This exception is thrown when there occurs a problem with extensions.


Variable Index

 o CONSTRUCTION
 o NOT_INIT
 o PARSE_ERROR

Constructor Index

 o ExtensionException(int)
Creates a new ExtensionException with a specific code.
 o ExtensionException(int, Exception)
 o ExtensionException(int, String)
Creates a new ExtensionException using a code and a description.

Method Index

 o getData()
Returns a detailed description of the exception.
 o getExceptionCode()
Returns the basic code of the exception.
 o getMessage()
Returns the description of the basic code.

Variables

 o PARSE_ERROR
 public static final int PARSE_ERROR
 o CONSTRUCTION
 public static final int CONSTRUCTION
 o NOT_INIT
 public static final int NOT_INIT

Constructors

 o ExtensionException
 public ExtensionException(int code,
                           String description)
Creates a new ExtensionException using a code and a description.

Parameters:
code - shows the basic reason for this exception
description - a more detailted description of the exception
 o ExtensionException
 public ExtensionException(int code,
                           Exception ex)
 o ExtensionException
 public ExtensionException(int code)
Creates a new ExtensionException with a specific code.

Parameters:
code - shows the basic reason for this exception

Methods

 o getExceptionCode
 public int getExceptionCode()
Returns the basic code of the exception.

Returns:
the code of this exception
 o getData
 public String getData()
Returns a detailed description of the exception.

Returns:
a more detailted description of the exception
 o getMessage
 public String getMessage()
Returns the description of the basic code.

Returns:
a basic description of the exception
Overrides:
getMessage in class Throwable

All Packages  Class Hierarchy  This Package  Previous  Next  Index