AdventNet Web NMS 4 API Specification

com.adventnet.security.crypto
Class CryptoGraphException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.adventnet.security.crypto.CryptoGraphException
All Implemented Interfaces:
java.io.Serializable

public class CryptoGraphException
extends java.lang.Exception

This exception is thrown in case of any exception mainly related to coding / decoding operation of messages.

See Also:
Serialized Form

Constructor Summary
CryptoGraphException(java.lang.String str)
          Constructor which takes string as a parameter to construct the exception.
CryptoGraphException(java.lang.String str, java.lang.Exception e)
          Constructor which takes string and an Exception as parameters to CryptoGraphException.
 
Method Summary
 java.lang.Exception getException()
          Method to get the exception that caused CryptoGraphException to be generated.
 java.lang.String getMessage()
          Method to get the message associated with CryptoGraphException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CryptoGraphException

public CryptoGraphException(java.lang.String str)
Constructor which takes string as a parameter to construct the exception.
Parameters:
str - String used to construct the exception.

CryptoGraphException

public CryptoGraphException(java.lang.String str,
                            java.lang.Exception e)
Constructor which takes string and an Exception as parameters to CryptoGraphException.
Parameters:
str - String used to construct the exception.
e - Any other exception that is caught and used to constrict CryptoGraphException.
Method Detail

getException

public java.lang.Exception getException()
Method to get the exception that caused CryptoGraphException to be generated.
Returns:
The exception that caused the CryptoGraphException to be generated.

getMessage

public java.lang.String getMessage()
Method to get the message associated with CryptoGraphException.
Overrides:
getMessage in class java.lang.Throwable
Returns:
The message of CryptoGraphException.

AdventNet Web NMS 4 API Specification