1 |
/* CertificateExpiredException.java --- Certificate Expired Exception |
/* CertificateExpiredException.java --- Certificate Expired Exception |
2 |
Copyright (C) 1999 Free Software Foundation, Inc. |
Copyright (C) 1999, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
7 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
8 |
the Free Software Foundation; either version 2, or (at your option) |
the Free Software Foundation; either version 2, or (at your option) |
9 |
any later version. |
any later version. |
10 |
|
|
11 |
GNU Classpath is distributed in the hope that it will be useful, but |
GNU Classpath is distributed in the hope that it will be useful, but |
12 |
WITHOUT ANY WARRANTY; without even the implied warranty of |
WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
39 |
package java.security.cert; |
package java.security.cert; |
40 |
|
|
41 |
/** |
/** |
42 |
Exception for a Certificate Expiring. |
* Exception for a Certificate Expiring. |
43 |
|
* |
44 |
@since JDK 1.2 |
* @author Mark Benvenuto |
45 |
|
* @since 1.2 |
46 |
@author Mark Benvenuto |
* @status updated to 1.4 |
47 |
*/ |
*/ |
48 |
public class CertificateExpiredException extends CertificateException |
public class CertificateExpiredException extends CertificateException |
49 |
{ |
{ |
50 |
|
/** |
51 |
|
* Compatible with JDK 1.2+. |
52 |
|
*/ |
53 |
|
private static final long serialVersionUID = 9071001339691533771L; |
54 |
|
|
55 |
/** |
/** |
56 |
Constructs an CertificateExpiredException without a message string. |
* Constructs an exception without a message string. |
57 |
*/ |
*/ |
58 |
public CertificateExpiredException() |
public CertificateExpiredException() |
59 |
{ |
{ |
|
super(); |
|
60 |
} |
} |
61 |
|
|
62 |
/** |
/** |
63 |
Constructs an CertificateExpiredException with a message string. |
* Constructs an exception with a message string. |
64 |
|
* |
65 |
@param msg A message to display with exception |
* @param msg a message to display with exception |
66 |
*/ |
*/ |
67 |
public CertificateExpiredException(String msg) |
public CertificateExpiredException(String msg) |
68 |
{ |
{ |
69 |
super( msg ); |
super(msg); |
70 |
} |
} |
|
|
|
71 |
} |
} |