public class FOPException extends SAXException
Constructor and Description |
---|
FOPException(Exception cause)
Constructs a new FOP exception with the specified cause.
|
FOPException(String message)
Constructs a new FOP exception with the specified detail message.
|
FOPException(String message,
Exception cause)
Constructs a new exception with the specified detail message and cause.
|
FOPException(String message,
Locator locator)
Constructs a new FOP exception with the specified detail message and location.
|
FOPException(String message,
String systemId,
int line,
int column)
Constructs a new FOP exception with the specified detail message and location.
|
Modifier and Type | Method and Description |
---|---|
String |
getLocalizedMessage() |
String |
getMessage()
Returns the detail message string of this FOP exception.
|
boolean |
isLocationSet()
Indicate whether a location was set.
|
void |
printStackTrace()
Prints this FOP exception and its backtrace to the standard error stream.
|
void |
printStackTrace(PrintStream stream)
Prints this FOP exception and its backtrace to the specified print stream.
|
void |
printStackTrace(PrintWriter writer)
Prints this FOP exception and its backtrace to the specified print writer.
|
void |
setLocalizedMessage(String msg)
Sets the localized message for this exception.
|
void |
setLocation(String systemId,
int line,
int column)
Set a location associated with the exception.
|
void |
setLocator(Locator locator)
Set a location associated with the exception.
|
getCause, getException, toString
addSuppressed, fillInStackTrace, getStackTrace, getSuppressed, initCause, setStackTrace
public FOPException(String message)
message
- the detail message.public FOPException(String message, String systemId, int line, int column)
message
- the detail messagesystemId
- the system id of the FO document which is associated with the exception
may be null.line
- line number in the FO document which is associated with the exception.column
- clolumn number in the line which is associated with the exception.public FOPException(String message, Locator locator)
message
- the detail message.locator
- the locator holding the location.public FOPException(Exception cause)
cause
- the cause.public void setLocator(Locator locator)
locator
- the locator holding the location.public void setLocation(String systemId, int line, int column)
systemId
- the system id of the FO document which is associated with the exception;
may be null.line
- line number in the FO document which is associated with the exception.column
- column number in the line which is associated with the exception.public boolean isLocationSet()
public String getMessage()
SystemId:LL:CC: &the message&(the format used by most GNU tools)
getMessage
in class SAXException
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream stream)
printStackTrace
in class Throwable
stream
- PrintStream to use for outputpublic void printStackTrace(PrintWriter writer)
printStackTrace
in class Throwable
writer
- PrintWriter to use for outputpublic void setLocalizedMessage(String msg)
msg
- the localized messagepublic String getLocalizedMessage()
getLocalizedMessage
in class Throwable
Copyright © 2010 - 2020 Adobe. All Rights Reserved