1 |
/* GeneralSecurityException.java -- Common superclass of security exceptions |
/* GeneralSecurityException.java -- Common superclass of security exceptions |
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 |
|
|
41 |
* This class is the common superclass of all security exceptions. All |
* This class is the common superclass of all security exceptions. All |
42 |
* exceptions in java.security extend this class with the exception (no |
* exceptions in java.security extend this class with the exception (no |
43 |
* pun intended) of <code>AccessControlException</code> and |
* pun intended) of <code>AccessControlException</code> and |
44 |
* <code>CertificateException</code> which extend <code>SecurityException</code> |
* <code>CertificateException</code> (which extend |
45 |
* and <code>ProviderException</code> which extens <code>RuntimeException</code>. |
* <code>SecurityException</code>), <code>ProviderException</code> |
46 |
* and <code>InvalidParamterException</code> which extends |
* (<code>RuntimeException</code>), and <code>InvalidParamterException</code> |
47 |
* <code>IllegalArgumentException</code>. |
* (<code>IllegalArgumentException</code>). |
48 |
* |
* |
49 |
* @version 0.0 |
* @author Aaron M. Renn <arenn@urbanophile.com> |
50 |
* |
* @status updated to 1.4 |
|
* @author Aaron M. Renn (arenn@urbanophile.com) |
|
51 |
*/ |
*/ |
52 |
public class GeneralSecurityException extends Exception |
public class GeneralSecurityException extends Exception |
53 |
{ |
{ |
54 |
/** |
/** |
55 |
* This method initializes a new instance of <code>GeneralSecurityException</code> |
* Compatible with JDK 1.1+. |
56 |
* with no descriptive error message. |
*/ |
57 |
|
private static final long serialVersionUID = 894798122053539237L; |
58 |
|
|
59 |
|
/** |
60 |
|
* Create a new instance with no descriptive error message. |
61 |
*/ |
*/ |
62 |
public GeneralSecurityException() |
public GeneralSecurityException() |
63 |
{ |
{ |
|
super(); |
|
64 |
} |
} |
65 |
|
|
66 |
/** |
/** |
67 |
* This method initializes a new instance of <code>GeneralSecurityException</code> |
* Create a new instance with a descriptive error message. |
|
* with a descriptive error message. |
|
68 |
* |
* |
69 |
* @param msg The descriptive error message. |
* @param msg the descriptive error message |
70 |
*/ |
*/ |
71 |
public GeneralSecurityException(String msg) |
public GeneralSecurityException(String msg) |
72 |
{ |
{ |