From fa260dfd99f3e978056ac222a473b11e48db7e68 Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Tue, 25 Sep 2001 04:30:59 +0000 Subject: * gnu/java/security/provider/DefaultPolicy.java: New file, from libgcj. * java/security: Merge from libgcj. These are mostly formatting fixes, with a few fixes and enhancements. --- java/security/InvalidKeyException.java | 52 ++++++++++++---------------------- 1 file changed, 18 insertions(+), 34 deletions(-) (limited to 'java/security/InvalidKeyException.java') diff --git a/java/security/InvalidKeyException.java b/java/security/InvalidKeyException.java index 314365e00..64bc576b8 100644 --- a/java/security/InvalidKeyException.java +++ b/java/security/InvalidKeyException.java @@ -1,5 +1,4 @@ -/* InvalidKeyException.java -- What it says - Copyright (C) 1998 Free Software Foundation, Inc. +/* Copyright (C) 2000 Free Software Foundation This file is part of GNU Classpath. @@ -7,7 +6,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -24,42 +23,27 @@ resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. */ - package java.security; /** - * This exception is thrown for invalid keys - * - * @version 0.0 - * - * @author Aaron M. Renn (arenn@urbanophile.com) - */ -public class InvalidKeyException extends KeyException -{ + * @author Warren Levy + * @date February 1, 2000. + */ /** - * This method initializes a new instance of InvalidKeyException - * with no descriptive error message. - */ -public -InvalidKeyException() -{ - super(); -} + * Written using on-line Java Platform 1.2 API Specification. + * Status: Believed complete and correct. + */ -/*************************************************************************/ - -/** - * This method initializes a new instance of InvalidKeyException - * with a descriptive error message. - * - * @param msg The descriptive error message. - */ -public -InvalidKeyException(String msg) +public class InvalidKeyException extends KeyException { - super(msg); + public InvalidKeyException() + { + super(); + } + + public InvalidKeyException(String msg) + { + super(msg); + } } - -} // class InvalidKeyException - -- cgit v1.2.1