public class SaxonApiException
extends java.lang.Exception
Constructor and Description |
---|
SaxonApiException(java.lang.String message)
Create a SaxonApiException
|
SaxonApiException(java.lang.String message,
java.lang.Throwable cause)
Create a SaxonApiException
|
SaxonApiException(java.lang.Throwable cause)
Create a SaxonApiException
|
Modifier and Type | Method and Description |
---|---|
QName |
getErrorCode()
Get the error code associated with the exception, if there is one
|
int |
getLineNumber()
Get the line number associated with the exception, if known.
|
java.lang.String |
getMessage()
Returns the detail message string of this throwable.
|
java.lang.String |
getSystemId()
Get the URI of the module associated with the exception, if known.
|
public SaxonApiException(java.lang.Throwable cause)
cause
- the underlying cause of the exceptionpublic SaxonApiException(java.lang.String message)
message
- the messagepublic SaxonApiException(java.lang.String message, java.lang.Throwable cause)
message
- the messagecause
- the underlying cause of the exceptionpublic java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public QName getErrorCode()
public int getLineNumber()
public java.lang.String getSystemId()
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.