|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--org.xml.sax.SAXException | +--org.xml.sax.SAXParseException | +--com.icl.saxon.trax.TransformException
This simply subclasses the TransformException for the purposes of being able to be caught in a catch clause.
Constructor Summary | |
TransformException(java.lang.Exception e)
Create a new TransformException wrapping an existing exception. |
|
TransformException(java.lang.String message)
Create a new TransformException. |
|
TransformException(java.lang.String message,
java.lang.Exception e)
Wrap an existing exception in a TransformException. |
|
TransformException(java.lang.String message,
org.xml.sax.Locator locator)
Create a new TransformException from a message and a Locator. |
|
TransformException(java.lang.String message,
org.xml.sax.Locator locator,
java.lang.Exception e)
Wrap an existing exception in a TransformException. |
|
TransformException(java.lang.String message,
java.lang.String publicId,
java.lang.String systemId,
int lineNumber,
int columnNumber)
Create a new TransformException. |
|
TransformException(java.lang.String message,
java.lang.String publicId,
java.lang.String systemId,
int lineNumber,
int columnNumber,
java.lang.Exception e)
Create a new TransformException with an embedded exception. |
Methods inherited from class org.xml.sax.SAXParseException |
getColumnNumber, getLineNumber, getPublicId, getSystemId |
Methods inherited from class org.xml.sax.SAXException |
getException, getMessage, toString |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TransformException(java.lang.String message)
message
- The error or warning message.SAXException
public TransformException(java.lang.Exception e)
e
- The exception to be wrapped in a SAXException.SAXException
public TransformException(java.lang.String message, java.lang.Exception e)
This is used for throwing processor exceptions before the processing has started.
message
- The error or warning message, or null to
use the message from the embedded exception.e
- Any exceptionLocator
,
Parser.setLocale(java.util.Locale)
public TransformException(java.lang.String message, org.xml.sax.Locator locator)
This constructor is especially useful when an application is creating its own exception from within a DocumentHandler callback.
message
- The error or warning message.locator
- The locator object for the error or warning.Locator
,
Parser.setLocale(java.util.Locale)
public TransformException(java.lang.String message, org.xml.sax.Locator locator, java.lang.Exception e)
This constructor is especially useful when an application is creating its own exception from within a DocumentHandler callback, and needs to wrap an existing exception that is not a subclass of SAXException.
message
- The error or warning message, or null to
use the message from the embedded exception.locator
- The locator object for the error or warning.e
- Any exceptionLocator
,
Parser.setLocale(java.util.Locale)
public TransformException(java.lang.String message, java.lang.String publicId, java.lang.String systemId, int lineNumber, int columnNumber)
This constructor is most useful for parser writers.
If the system identifier is a URL, the parser must resolve it fully before creating the exception.
message
- The error or warning message.publicId
- The public identifer of the entity that generated
the error or warning.systemId
- The system identifer of the entity that generated
the error or warning.lineNumber
- The line number of the end of the text that
caused the error or warning.columnNumber
- The column number of the end of the text that
cause the error or warning.Parser.setLocale(java.util.Locale)
public TransformException(java.lang.String message, java.lang.String publicId, java.lang.String systemId, int lineNumber, int columnNumber, java.lang.Exception e)
This constructor is most useful for parser writers who need to wrap an exception that is not a subclass of SAXException.
If the system identifier is a URL, the parser must resolve it fully before creating the exception.
message
- The error or warning message, or null to use
the message from the embedded exception.publicId
- The public identifer of the entity that generated
the error or warning.systemId
- The system identifer of the entity that generated
the error or warning.lineNumber
- The line number of the end of the text that
caused the error or warning.columnNumber
- The column number of the end of the text that
cause the error or warning.e
- Another exception to embed in this one.Parser.setLocale(java.util.Locale)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |