1 /* |
1 /* |
2 * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
55 public CRLException(String message) { |
55 public CRLException(String message) { |
56 super(message); |
56 super(message); |
57 } |
57 } |
58 |
58 |
59 /** |
59 /** |
60 * Creates a <code>CRLException</code> with the specified |
60 * Creates a {@code CRLException} with the specified |
61 * detail message and cause. |
61 * detail message and cause. |
62 * |
62 * |
63 * @param message the detail message (which is saved for later retrieval |
63 * @param message the detail message (which is saved for later retrieval |
64 * by the {@link #getMessage()} method). |
64 * by the {@link #getMessage()} method). |
65 * @param cause the cause (which is saved for later retrieval by the |
65 * @param cause the cause (which is saved for later retrieval by the |
66 * {@link #getCause()} method). (A <tt>null</tt> value is permitted, |
66 * {@link #getCause()} method). (A {@code null} value is permitted, |
67 * and indicates that the cause is nonexistent or unknown.) |
67 * and indicates that the cause is nonexistent or unknown.) |
68 * @since 1.5 |
68 * @since 1.5 |
69 */ |
69 */ |
70 public CRLException(String message, Throwable cause) { |
70 public CRLException(String message, Throwable cause) { |
71 super(message, cause); |
71 super(message, cause); |
72 } |
72 } |
73 |
73 |
74 /** |
74 /** |
75 * Creates a <code>CRLException</code> with the specified cause |
75 * Creates a {@code CRLException} with the specified cause |
76 * and a detail message of <tt>(cause==null ? null : cause.toString())</tt> |
76 * and a detail message of {@code (cause==null ? null : cause.toString())} |
77 * (which typically contains the class and detail message of |
77 * (which typically contains the class and detail message of |
78 * <tt>cause</tt>). |
78 * {@code cause}). |
79 * |
79 * |
80 * @param cause the cause (which is saved for later retrieval by the |
80 * @param cause the cause (which is saved for later retrieval by the |
81 * {@link #getCause()} method). (A <tt>null</tt> value is permitted, |
81 * {@link #getCause()} method). (A {@code null} value is permitted, |
82 * and indicates that the cause is nonexistent or unknown.) |
82 * and indicates that the cause is nonexistent or unknown.) |
83 * @since 1.5 |
83 * @since 1.5 |
84 */ |
84 */ |
85 public CRLException(Throwable cause) { |
85 public CRLException(Throwable cause) { |
86 super(cause); |
86 super(cause); |