public class StaticError extends Object
Constructor and Description |
---|
StaticError(TransformerException err) |
StaticError(TransformerException err,
boolean isWarning) |
Modifier and Type | Method and Description |
---|---|
int |
getColumnNumber()
The coloumn number locating the error within a query or stylesheet module
|
QName |
getErrorCode()
The error code, as a QName.
|
String |
getInstructionName()
Get a name identifying the kind of instruction, in terms meaningful to a user.
|
int |
getLineNumber()
The line number locating the error within a query or stylesheet module
|
String |
getMessage()
Return the error message associated with this error
|
String |
getModuleUri()
The URI of the query or stylesheet module in which the error was detected (as a string)
May be null if the location of the error is unknown, or if the error is not localized
to a specific module, or if the module in question has no known URI (for example, if
it was supplied as an anonymous Stream)
|
String |
getPath()
Get the absolute XPath expression that identifies the node within its document
where the error occurred, if available
|
XPathException |
getUnderlyingException()
The underlying exception is returned.
|
boolean |
isTypeError()
Indicate whether this condition is a type error.
|
boolean |
isWarning()
Indicate whether this error is being reported as a warning condition.
|
void |
setWarning(boolean warning) |
public StaticError(TransformerException err, boolean isWarning)
public StaticError(TransformerException err)
public void setWarning(boolean warning)
public QName getErrorCode()
public String getMessage()
public String getModuleUri()
public int getColumnNumber()
public int getLineNumber()
public String getInstructionName()
public boolean isWarning()
public boolean isTypeError()
public String getPath()
public XPathException getUnderlyingException()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.