Package java.security
Class DigestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.security.GeneralSecurityException
-
- java.security.DigestException
-
- All Implemented Interfaces:
Serializable
public class DigestException extends GeneralSecurityException
DigestExceptionis a general message digest exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DigestException()Constructs a new instance ofDigestException.DigestException(String msg)Constructs a new instance ofDigestExceptionwith the given message.DigestException(String message, Throwable cause)Constructs a new instance ofDigestExceptionwith the given message and the cause.DigestException(Throwable cause)Constructs a new instance ofDigestExceptionwith the cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DigestException
public DigestException(String msg)
Constructs a new instance ofDigestExceptionwith the given message.- Parameters:
msg- the detail message for this exception.
-
DigestException
public DigestException()
Constructs a new instance ofDigestException.
-
DigestException
public DigestException(String message, Throwable cause)
Constructs a new instance ofDigestExceptionwith the given message and the cause.- Parameters:
message- the detail message for this exception.cause- the exception which is the cause for this exception.
-
DigestException
public DigestException(Throwable cause)
Constructs a new instance ofDigestExceptionwith the cause.- Parameters:
cause- the exception which is the cause for this exception.
-
-