/[classpath]/classpath/java/security/cert/CertificateException.java
ViewVC logotype

Diff of /classpath/java/security/cert/CertificateException.java

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

revision 1.3 by mark, Tue Jan 22 22:27:01 2002 UTC revision 1.4 by ericb, Sun Feb 24 04:25:17 2002 UTC
# Line 1  Line 1 
1  /* CertificateException.java --- Certificate Exception  /* CertificateException.java -- Certificate Exception
2     Copyright (C) 1999 Free Software Foundation, Inc.     Copyright (C) 1999, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 7  GNU Classpath is free software; you can Line 7  GNU Classpath is free software; you can
7  it under the terms of the GNU General Public License as published by  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2, or (at your option)  the Free Software Foundation; either version 2, or (at your option)
9  any later version.  any later version.
10    
11  GNU Classpath is distributed in the hope that it will be useful, but  GNU Classpath is distributed in the hope that it will be useful, but
12  WITHOUT ANY WARRANTY; without even the implied warranty of  WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Line 37  exception statement from your version. * Line 37  exception statement from your version. *
37    
38    
39  package java.security.cert;  package java.security.cert;
40    
41  import java.security.GeneralSecurityException;  import java.security.GeneralSecurityException;
42    
43  /**  /**
44          Exception for a Certificate.   * Exception for a Certificate.
45     *
46          @since JDK 1.2   * @author Mark Benvenuto
47     * @see Certificate
48          @author Mark Benvenuto   * @since 1.2
49  */   * @status updated to 1.4
50     */
51  public class CertificateException extends GeneralSecurityException  public class CertificateException extends GeneralSecurityException
52  {  {
53      /**
54       * Compatible with JDK 1.2+.
55       */
56      private static final long serialVersionUID = 3192535253797119798L;
57    
58    /**    /**
59       Constructs an CertificateException without a message string.     * Constructs an exception without a message string.
60    */     */
61    public CertificateException()    public CertificateException()
62    {    {
     super();  
63    }    }
64    
65    /**    /**
66       Constructs an CertificateException with a message string.     * Constructs an exception with a message string.
67       *
68       @param msg A message to display with exception     * @param msg a message to display with exception
69    */     */
70    public CertificateException(String msg)    public CertificateException(String msg)
71    {    {
72      super( msg );      super(msg);
73    }    }
   
74  }  }

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

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