com.ls.security.pki
Class EncryptionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ls.BaseException
                    |
                    +--com.ls.security.pki.PKIBaseException
                          |
                          +--com.ls.security.pki.EncryptionException
All Implemented Interfaces:
Serializable

public class EncryptionException
extends PKIBaseException

This exception is thrown when there is error in encryption process, for example, if the public key is not correct, or if the encryption process error.

Version:
$Revision: 1.3 $
Author:
Last modified by $Author: JBogenschuetz $
See Also:
Serialized Form

Fields inherited from class com.ls.BaseException
innerThrowable
 
Constructor Summary
EncryptionException(String description)
          Creates a EncryptionException with the specified detail message.
EncryptionException(String description, Throwable throwable)
          Creates a EncryptionException with the specified detail message and nested exception.
 
Methods inherited from class com.ls.BaseException
getMessage, getNestedThrowable, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EncryptionException

public EncryptionException(String description)
Creates a EncryptionException with the specified detail message.
Parameters:
description - The detail message.

EncryptionException

public EncryptionException(String description,
                           Throwable throwable)
Creates a EncryptionException with the specified detail message and nested exception.
Parameters:
description - The detail message.
throwable - The nested exception.