package org.apache.fop.apps;
-import org.xml.sax.SAXException;
-
/**
* Exception thrown when FOP has a problem
private static final String TAG = "$Name$";
private static final String REVISION = "$Revision$";
- private static final String EXCEPTION_SEPARATOR = "\n---------\n";
+ //private static final String EXCEPTION_SEPARATOR = "\n---------\n";
- private Throwable exception;
+ //private Throwable exception;
/**
* create a new FOP Exception
* @param e incoming Throwable
*/
public FOPException(Throwable e) {
- super(e.getMessage());
- setException(e);
+ super(e);
}
/**
* @param e the exception
*/
public FOPException(String message, Throwable e) {
- super(message);
- setException(e);
+ super(message, e);
}
/**
* Sets this exception to the Throwable parameter
* @param t the exception
*/
+ /*
protected void setException(Throwable t) {
exception = t;
}
+ */
/**
* Gets this exception.
* @return a Throwable
*/
+ /*
public Throwable getException() {
return exception;
}
+ */
/**
* Gets the root exception of this exception.
* @return the Throwable root exception
*/
+ /*
protected Throwable getRootException() {
Throwable result = exception;
}
return null;
}
+ */
/**
* @see java.lang.Throwable#printStackTrace()
*/
+ /*
public void printStackTrace() {
synchronized (System.err) {
super.printStackTrace();
}
}
}
+ */
/**
* @see java.lang.Throwable#printStackTrace(java.io.PrintStream)
*/
+ /*
public void printStackTrace(java.io.PrintStream stream) {
synchronized (stream) {
super.printStackTrace(stream);
}
}
}
+ */
/**
* @see java.lang.Throwable#printStackTrace(java.io.PrintWriter)
*/
+ /*
public void printStackTrace(java.io.PrintWriter writer) {
synchronized (writer) {
super.printStackTrace(writer);
}
}
}
+ */
}