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.
-
CA
-
-
CH
-
-
CO
-
-
I
-
-
II
-
-
IN
-
-
IND
-
-
INW
-
-
PA
-
-
PU
-
-
VE
-
-
PKCSException(int)
- Creates a new PKCSException with a specific code.
-
PKCSException(int, Exception)
-
-
PKCSException(int, String)
- Creates a new PKCSException using a code and a description.
-
getData()
- Returns a detailed description of the exception.
-
getExceptionCode()
- Returns the basic code of the exception.
-
getMessage()
- Returns the description of the basic code.
I
public static final int I
II
public static final int II
IN
public static final int IN
IND
public static final int IND
CA
public static final int CA
CH
public static final int CH
PA
public static final int PA
CO
public static final int CO
INW
public static final int INW
VE
public static final int VE
PU
public static final int PU
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
PKCSException
public PKCSException(int code,
Exception ex)
PKCSException
public PKCSException(int code)
- Creates a new PKCSException with a specific code.
- Parameters:
- code - shows the basic reason for this exception
getExceptionCode
public int getExceptionCode()
- Returns the basic code of the exception.
- Returns:
- the code of this exception
getData
public String getData()
- Returns a detailed description of the exception.
- Returns:
- a more detailted description of the exception
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