public class java.security
DigestException


Show All Login
Java SE 6
  
Extends: Throwable > Exception > GeneralSecurityException
Details
This is the generic Message Digest exception.
version1.18, 05/11/17

Constructors
public DigestException()
Constructs a DigestException with no detail message. (A detail message is a String that describes this particular exception.)
public DigestException(String msg) Details
Constructs a DigestException with the specified detail message. (A detail message is a String that describes this particular exception.)
msgthe detail message.
public DigestException(String message, Throwable cause) Details
Creates a DigestException with the specified detail message and cause.
messagethe detail message (which is saved for later retrieval by the #getMessage() method).
causethe cause (which is saved for later retrieval by the #getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
since1.5
public DigestException(Throwable cause) Details
Creates a DigestException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
causethe cause (which is saved for later retrieval by the #getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
since1.5