1 |
/* DigestException.java -- A generic message digest exception |
/* DigestException.java -- A generic message digest exception |
2 |
Copyright (C) 1998 Free Software Foundation, Inc. |
Copyright (C) 1998, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
38 |
package java.security; |
package java.security; |
39 |
|
|
40 |
/** |
/** |
41 |
* This exception indicates that a generic message digest exception has |
* This exception indicates that a generic message digest exception has |
42 |
* occurred. |
* occurred. |
43 |
* |
* |
44 |
* @version 0.0 |
* @author Aaron M. Renn <arenn@urbanophile.com> |
45 |
* |
* @status updated to 1.4 |
|
* @author Aaron M. Renn (arenn@urbanophile.com) |
|
46 |
*/ |
*/ |
47 |
public class DigestException extends GeneralSecurityException |
public class DigestException extends GeneralSecurityException |
48 |
{ |
{ |
49 |
/** |
/** |
50 |
* This method initializes a new <code>DigestException</code> with no |
* Compatible with JDK 1.1+. |
51 |
* descriptive message. |
*/ |
52 |
|
private static final long serialVersionUID = 5821450303093652515L; |
53 |
|
|
54 |
|
/** |
55 |
|
* Create a new instance with no descriptive message. |
56 |
*/ |
*/ |
57 |
public DigestException() |
public DigestException() |
58 |
{ |
{ |
|
super(); |
|
59 |
} |
} |
60 |
|
|
61 |
/** |
/** |
62 |
* This method initializes a new instance of <code>DigestException</code> |
* Create a new instance with a descriptive error message. |
|
* with a descriptive error message. |
|
63 |
* |
* |
64 |
* @param msg The descriptive message |
* @param msg the descriptive message |
65 |
*/ |
*/ |
66 |
public DigestException(String msg) |
public DigestException(String msg) |
67 |
{ |
{ |