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.
-
CONSTRUCTION
-
-
NOT_INIT
-
-
PARSE_ERROR
-
-
ExtensionException(int)
- Creates a new ExtensionException with a specific code.
-
ExtensionException(int, Exception)
-
-
ExtensionException(int, String)
- Creates a new ExtensionException 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.
PARSE_ERROR
public static final int PARSE_ERROR
CONSTRUCTION
public static final int CONSTRUCTION
NOT_INIT
public static final int NOT_INIT
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
ExtensionException
public ExtensionException(int code,
Exception ex)
ExtensionException
public ExtensionException(int code)
- Creates a new ExtensionException 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