| java.lang.Object java.lang.Throwable java.lang.Exception org.xml.sax.SAXException org.apache.fop.apps.FOPException
All known Subclasses: org.apache.fop.fo.ValidationException, org.apache.fop.fo.expr.PropertyException,
FOPException | public class FOPException extends SAXException (Code) | | Exception thrown when FOP has a problem.
|
Constructor Summary | |
public | FOPException(String message) Constructs a new FOP exception with the specified detail message. | public | FOPException(String message, String systemId, int line, int column) Constructs a new FOP exception with the specified detail message and location. | public | FOPException(String message, Locator locator) Constructs a new FOP exception with the specified detail message and location. | public | FOPException(Exception cause) Constructs a new FOP exception with the specified cause. | public | FOPException(String message, Exception cause) Constructs a new exception with the specified detail message and cause. |
FOPException | public FOPException(String message)(Code) | | Constructs a new FOP exception with the specified detail message.
Parameters: message - the detail message. |
FOPException | public FOPException(String message, String systemId, int line, int column)(Code) | | Constructs a new FOP exception with the specified detail message and location.
Parameters: message - the detail message Parameters: systemId - the system id of the FO document which is associated with the exceptionmay be null. Parameters: line - line number in the FO document which is associated with the exception. Parameters: column - clolumn number in the line which is associated with the exception. |
FOPException | public FOPException(String message, Locator locator)(Code) | | Constructs a new FOP exception with the specified detail message and location.
Parameters: message - the detail message. Parameters: locator - the locator holding the location. |
FOPException | public FOPException(Exception cause)(Code) | | Constructs a new FOP exception with the specified cause.
Parameters: cause - the cause. |
FOPException | public FOPException(String message, Exception cause)(Code) | | Constructs a new exception with the specified detail message and cause.
Parameters: message - the detail message Parameters: cause - the cause |
getMessage | public String getMessage()(Code) | | Returns the detail message string of this FOP exception.
If a location was set, the message is prepended with it in the
form
SystemId:LL:CC: &the message&
(the format used by most GNU tools)
the detail message string of this FOP exception |
getRootException | protected Throwable getRootException()(Code) | | Attempts to recast the exception as other Throwable types.
the exception recast as another type if possible, otherwise null. |
isLocationSet | public boolean isLocationSet()(Code) | | Indicate whether a location was set.
whether a location was set |
printStackTrace | public void printStackTrace()(Code) | | Prints this FOP exception and its backtrace to the standard error stream.
|
printStackTrace | public void printStackTrace(java.io.PrintStream stream)(Code) | | Prints this FOP exception and its backtrace to the specified print stream.
Parameters: stream - PrintStream to use for output |
printStackTrace | public void printStackTrace(java.io.PrintWriter writer)(Code) | | Prints this FOP exception and its backtrace to the specified print writer.
Parameters: writer - PrintWriter to use for output |
setLocation | public void setLocation(String systemId, int line, int column)(Code) | | Set a location associated with the exception.
Parameters: systemId - the system id of the FO document which is associated with the exception;may be null. Parameters: line - line number in the FO document which is associated with the exception. Parameters: column - clolumn number in the line which is associated with the exception. |
setLocator | public void setLocator(Locator locator)(Code) | | Set a location associated with the exception.
Parameters: locator - the locator holding the location. |
|
|