java.security
Class DigestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by java.security.DigestException
All Implemented Interfaces:
Serializable

public class DigestException
extends GeneralSecurityException

This exception indicates that a generic message digest exception has occurred.

See Also:
Serialized Form

Constructor Summary
DigestException()
          Create a new instance with no descriptive message.
DigestException(String msg)
          Create a new instance with a descriptive error message.
DigestException(String s, Throwable cause)
          Create a new instance with a descriptive error message and a cause.
DigestException(Throwable cause)
          Create a new instance with a 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
 

Constructor Detail

DigestException

public DigestException()
Create a new instance with no descriptive message.


DigestException

public DigestException(String msg)
Create a new instance with a descriptive error message.

Parameters:
msg - the descriptive message

DigestException

public DigestException(String s,
                       Throwable cause)
Create a new instance with a descriptive error message and a cause.

Parameters:
s - the descriptive error message
cause - the cause
Since:
1.5

DigestException

public DigestException(Throwable cause)
Create a new instance with a cause.

Parameters:
cause - the cause
Since:
1.5