All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iaik.pkcs.PKCSException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----iaik.asn1.CodingException
                           |
                           +----iaik.pkcs.PKCSException

public class PKCSException
extends CodingException
This exception is thrown when there occurs a problem with PKCS types.


Variable Index

 o CA
 o CH
 o CO
 o I
 o II
 o IN
 o IND
 o INW
 o PA
 o PU
 o VE

Constructor Index

 o PKCSException(int)
Creates a new PKCSException with a specific code.
 o PKCSException(int, Exception)
 o PKCSException(int, String)
Creates a new PKCSException 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 I
 public static final int I
 o II
 public static final int II
 o IN
 public static final int IN
 o IND
 public static final int IND
 o CA
 public static final int CA
 o CH
 public static final int CH
 o PA
 public static final int PA
 o CO
 public static final int CO
 o INW
 public static final int INW
 o VE
 public static final int VE
 o PU
 public static final int PU

Constructors

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

Parameters:
code - shows the basic reason for this exception
description - a more detailted description of the exception
 o PKCSException
 public PKCSException(int code,
                      Exception ex)
 o PKCSException
 public PKCSException(int code)
Creates a new PKCSException 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