KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > security > cert > CRLException


1 /*
2  * @(#)CRLException.java 1.12 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package java.security.cert;
9
10 import java.security.GeneralSecurityException JavaDoc;
11
12 /**
13  * CRL (Certificate Revocation List) Exception.
14  *
15  * @author Hemma Prafullchandra
16  * 1.12
17  */

18 public class CRLException extends GeneralSecurityException JavaDoc {
19
20     private static final long serialVersionUID = -6694728944094197147L;
21
22    /**
23      * Constructs a CRLException with no detail message. A
24      * detail message is a String that describes this particular
25      * exception.
26      */

27     public CRLException() {
28         super();
29     }
30
31     /**
32      * Constructs a CRLException with the specified detail
33      * message. A detail message is a String that describes this
34      * particular exception.
35      *
36      * @param message the detail message.
37      */

38     public CRLException(String JavaDoc message) {
39         super(message);
40     }
41
42     /**
43      * Creates a <code>CRLException</code> with the specified
44      * detail message and cause.
45      *
46      * @param message the detail message (which is saved for later retrieval
47      * by the {@link #getMessage()} method).
48      * @param cause the cause (which is saved for later retrieval by the
49      * {@link #getCause()} method). (A <tt>null</tt> value is permitted,
50      * and indicates that the cause is nonexistent or unknown.)
51      * @since 1.5
52      */

53     public CRLException(String JavaDoc message, Throwable JavaDoc cause) {
54         super(message, cause);
55     }
56
57     /**
58      * Creates a <code>CRLException</code> with the specified cause
59      * and a detail message of <tt>(cause==null ? null : cause.toString())</tt>
60      * (which typically contains the class and detail message of
61      * <tt>cause</tt>).
62      *
63      * @param cause the cause (which is saved for later retrieval by the
64      * {@link #getCause()} method). (A <tt>null</tt> value is permitted,
65      * and indicates that the cause is nonexistent or unknown.)
66      * @since 1.5
67      */

68     public CRLException(Throwable JavaDoc cause) {
69         super(cause);
70     }
71 }
72
Popular Tags