pbwest 2004/01/04 18:26:54
Modified:src/java/org/apache/fop/apps Tag: FOP_0-20-0_Alt-Design
Options.java
Log:
Removed spurious exception in throws clause.
Javadocs cleanup.
Revision ChangesPath
No revision
No revision
1.1.2.4 +7 -10 xml-fop/src/java/org/apache/fop/apps/Attic/Options.java
Index: Options.java
===
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/apps/Attic/Options.java,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -r1.1.2.3 -r1.1.2.4
--- Options.java 31 Dec 2003 04:28:27 - 1.1.2.3
+++ Options.java 5 Jan 2004 02:26:54 - 1.1.2.4
@@ -272,7 +272,7 @@
*
* It remains for any related variables defined in this class to be set.
*
- * @exception org.apache.fop.fo.FOPException
+ * @exception FOPException
*/
static void initOptions() throws FOPException {
Boolean bool = null;
@@ -339,7 +339,7 @@
* Load the standard configuration file and the user-defined configuration
* file if one has been defined. The definition can occur in either the
* standard file or as a command line argument.
- * @exception org.apache.fop.fo.FOPException
+ * @exception FOPException
*/
private static void loadConfigFiles() throws FOPException {
String str = null;
@@ -362,7 +362,7 @@
* Convenience class for common functionality required by the config
* files.
* @param fname the configuration file name.
- * @param classobj the ttClass/tt object of requesting class.
+ * @param classob the requesting class
* @return an ttInputStream/tt generated through a call to
* ttgetResourceAsStream/tt on the context ttClassLoader/tt
* or the ttClassLoader/tt for the conf class provided as an argument.
@@ -402,7 +402,7 @@
* class loader are asked in turn to codegetResourceAsStream/code
* on ifname/i from a directory called iconf/i.
* @param fname the name of the configuration file to load.
- * @exception org.apache.fop.fo.FOPException if the configuration file
+ * @exception FOPException if the configuration file
* cannot be discovered.
*/
public static void loadConfiguration(String fname)
@@ -430,11 +430,8 @@
* source. If this fails, an attempt is made to load the file using
* codeloadConfiguration/code.
* @param userConfigFileName the name of the user configuration file.
- * @exception org.apache.fop.fo.FOPException thrown when the file cannot
- * be located.
*/
-public static void loadUserConfiguration(String userConfigFileName)
-throws FOPException {
+public static void loadUserConfiguration(String userConfigFileName) {
// read user configuration file
boolean readOk = true;
userConfigFile = new File(userConfigFileName);
@@ -687,7 +684,7 @@
}
}
-public static CommandLineStarter getStarter() throws FOPException {
+public static CommandLineStarter getStarter() {
switch (outputmode) {
default:
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]