/[classpath]/classpath/java/security/GeneralSecurityException.java
ViewVC logotype

Diff of /classpath/java/security/GeneralSecurityException.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by mark, Tue Jan 22 22:27:00 2002 UTC revision 1.5 by ericb, Sun Feb 24 04:25:17 2002 UTC
# Line 1  Line 1 
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    
# Line 41  package java.security; Line 41  package java.security;
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    {    {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26