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/NoSuchAlgorithmException.java | 62 +++++++++++++---------------- 1 file changed, 27 insertions(+), 35 deletions(-) (limited to 'java/security/NoSuchAlgorithmException.java') diff --git a/java/security/NoSuchAlgorithmException.java b/java/security/NoSuchAlgorithmException.java index df9757272..966398b05 100644 --- a/java/security/NoSuchAlgorithmException.java +++ b/java/security/NoSuchAlgorithmException.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,43 +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 the requested security algorithm is - * not available - * - * @version 0.0 - * - * @author Aaron M. Renn (arenn@urbanophile.com) - */ + * This exception is thrown when the requested security algorithm is + * not available + * + * @version 0.0 + * + * @author Aaron M. Renn (arenn@urbanophile.com) + */ public class NoSuchAlgorithmException extends GeneralSecurityException { - -/** - * This method initializes a new instance of NoSuchAlgorithmException - * with no descriptive error message. - */ -public -NoSuchAlgorithmException() -{ - super(); -} - -/*************************************************************************/ - -/** - * This method initializes a new instance of NoSuchAlgorithmException - * with a descriptive error message. - * - * @param msg The descriptive error message - */ -public -NoSuchAlgorithmException(String msg) -{ - super(msg); + /** + * This method initializes a new instance of NoSuchAlgorithmException + * with no descriptive error message. + */ + public NoSuchAlgorithmException() + { + super(); + } + + /** + * This method initializes a new instance of NoSuchAlgorithmException + * with a descriptive error message. + * + * @param msg The descriptive error message + */ + public NoSuchAlgorithmException(String msg) + { + super(msg); + } } - -} // class NoSuchAlgorithmException - -- cgit v1.2.1