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/UnrecoverableKeyException.java | 63 ++++++++++++---------------- 1 file changed, 27 insertions(+), 36 deletions(-) (limited to 'java/security/UnrecoverableKeyException.java') diff --git a/java/security/UnrecoverableKeyException.java b/java/security/UnrecoverableKeyException.java index 6fd4485ee..eae616a5a 100644 --- a/java/security/UnrecoverableKeyException.java +++ b/java/security/UnrecoverableKeyException.java @@ -7,7 +7,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,44 +24,35 @@ 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 when a key cannot be recovered from the key - * store. - * - * @version 0.0 - * - * @author Aaron M. Renn (arenn@urbanophile.com) - */ + * This exception is thrown when a key cannot be recovered from the key + * store. + * + * @version 0.0 + * + * @author Aaron M. Renn (arenn@urbanophile.com) + */ public class UnrecoverableKeyException extends GeneralSecurityException { - -/** - * This method initializes a new instance of UnrecoverableKeyException - * with no descriptive error message. - */ -public -UnrecoverableKeyException() -{ - super(); + /** + * This method initializes a new instance of UnrecoverableKeyException + * with no descriptive error message. + */ + public UnrecoverableKeyException() + { + super(); + } + + /** + * This method initializes a new instance of UnrecoverableKeyException + * with a descriptive error message. + * + * @param msg The descriptive error message. + */ + public UnrecoverableKeyException(String msg) + { + super(msg); + } } - -/*************************************************************************/ - -/** - * This method initializes a new instance of UnrecoverableKeyException - * with a descriptive error message. - * - * @param msg The descriptive error message. - */ -public -UnrecoverableKeyException(String msg) -{ - super(msg); -} - - -} // class UnrecoverableKeyException - -- cgit v1.2.1