/[classpath]/classpath/java/security/spec/InvalidKeySpecException.java
ViewVC logotype

Diff of /classpath/java/security/spec/InvalidKeySpecException.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  /* InvalidKeySpecException.java --- Invalid KeySpec Exception  /* InvalidKeySpecException.java -- invalid KeySpec 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.spec;  package java.security.spec;
40    
41  import java.security.GeneralSecurityException;  import java.security.GeneralSecurityException;
42    
43  /**  /**
44          Exception for an invalid key specification.   * Exception for an invalid key specification.
45     *
46          @since JDK 1.2   * @author Mark Benvenuto
47     * @see KeySpec
48          @author Mark Benvenuto   * @since 1.2
49  */   * @status updated to 1.4
50  public class InvalidKeySpecException extends GeneralSecurityException   */
51    public class InvalidKeySpecException extends GeneralSecurityException
52  {  {
53      /**
54       * Compatible with JDK 1.2+.
55       */
56      private static final long serialVersionUID = 3546139293998810778L;
57    
58    /**    /**
59       Constructs an InvalidKeySpecException without a message string.     * Constructs an InvalidKeySpecException without a message string.
60    */     */
61    public InvalidKeySpecException()    public InvalidKeySpecException()
62    {    {
     super();  
63    }    }
64    
65    /**    /**
66       Constructs an InvalidKeySpecException with a message string.     * Constructs an InvalidKeySpecException 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 InvalidKeySpecException(String msg)    public InvalidKeySpecException(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