16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package java.security;
27
28 /**
29 * This is the basic key exception.
30 *
31 * @see Key
32 * @see InvalidKeyException
33 * @see KeyManagementException
34 *
35 * @author Benjamin Renaud
36 */
37
38 public class KeyException extends GeneralSecurityException {
39
40 private static final long serialVersionUID = -7483676942812432108L;
41
42 /**
43 * Constructs a KeyException with no detail message. A detail
44 * message is a String that describes this particular exception.
45 */
46 public KeyException() {
47 super();
48 }
49
50 /**
51 * Constructs a KeyException with the specified detail message.
52 * A detail message is a String that describes this particular
53 * exception.
54 *
55 * @param msg the detail message.
|
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package java.security;
27
28 /**
29 * This is the basic key exception.
30 *
31 * @see Key
32 * @see InvalidKeyException
33 * @see KeyManagementException
34 *
35 * @author Benjamin Renaud
36 * @since 1.1
37 */
38
39 public class KeyException extends GeneralSecurityException {
40
41 private static final long serialVersionUID = -7483676942812432108L;
42
43 /**
44 * Constructs a KeyException with no detail message. A detail
45 * message is a String that describes this particular exception.
46 */
47 public KeyException() {
48 super();
49 }
50
51 /**
52 * Constructs a KeyException with the specified detail message.
53 * A detail message is a String that describes this particular
54 * exception.
55 *
56 * @param msg the detail message.
|