ccs
Class CipherException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by ccs.LoseException
                  extended by ccs.CipherException
All Implemented Interfaces:
java.io.Serializable

public class CipherException
extends LoseException

An specialisation of LoseException thrown by crypto classes, almost always to denote variants on "wrong password". Historically cipher classes threw LoseException in these cases, and current code reflects this. However, this specialisation will allow new or refactored code to handle this case in a more user-friendly manner, should they wish. Or they can decide not to.

This exception is in ccs rather than ccs.crypt for compatibility.

See Also:
Serialized Form

Constructor Summary
CipherException(java.lang.String msg)
           
 
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
 

Constructor Detail

CipherException

public CipherException(java.lang.String msg)