You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by pb...@apache.org on 2004/01/05 03:26:54 UTC
cvs commit: xml-fop/src/java/org/apache/fop/apps Options.java
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 Changes Path
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 -0000 1.1.2.3
+++ Options.java 5 Jan 2004 02:26:54 -0000 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 <tt>Class</tt> object of requesting class.
+ * @param classob the requesting class
* @return an <tt>InputStream</tt> generated through a call to
* <tt>getResourceAsStream</tt> on the context <tt>ClassLoader</tt>
* or the <tt>ClassLoader</tt> for the conf class provided as an argument.
@@ -402,7 +402,7 @@
* class loader are asked in turn to <code>getResourceAsStream</code>
* on <i>fname</i> from a directory called <i>conf</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
* <code>loadConfiguration</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: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org