org.silverpeas.util.crypto
Class CryptoException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.silverpeas.util.crypto.CryptoException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CipherKeyUpdateException

public class CryptoException
extends Exception

Exception thrown when the encryption or the decryption failed.

See Also:
Serialized Form

Field Summary
static String DECRYPTION_FAILURE
           
static String ENCRYPTION_FAILURE
           
static String KEY_GENERATION_FAILURE
           
 
Constructor Summary
CryptoException(String message)
           
CryptoException(String message, Throwable cause)
           
CryptoException(Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ENCRYPTION_FAILURE

public static final String ENCRYPTION_FAILURE
See Also:
Constant Field Values

DECRYPTION_FAILURE

public static final String DECRYPTION_FAILURE
See Also:
Constant Field Values

KEY_GENERATION_FAILURE

public static final String KEY_GENERATION_FAILURE
See Also:
Constant Field Values
Constructor Detail

CryptoException

public CryptoException(Throwable cause)

CryptoException

public CryptoException(String message,
                       Throwable cause)

CryptoException

public CryptoException(String message)


Copyright © 2016 Silverpeas. All Rights Reserved.