Package net.sf.saxon.s9api
Class SaxonApiUncheckedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.sf.saxon.s9api.SaxonApiUncheckedException
-
- All Implemented Interfaces:
Serializable
public class SaxonApiUncheckedException extends RuntimeException
An unchecked exception thrown by the Saxon API. Unchecked exceptions are used only when errors occur in a method for which the interface specification defines no checked exception, for exampleIterator.next()
. The exception always wraps some underlying exception, which can be retrieved usingThrowable.getCause()
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SaxonApiUncheckedException(Throwable err)
Create an unchecked exception
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
Returns the detail message string of this throwable.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SaxonApiUncheckedException
public SaxonApiUncheckedException(Throwable err)
Create an unchecked exception- Parameters:
err
- the underlying cause
-
-
Method Detail
-
getMessage
public String getMessage()
Returns the detail message string of this throwable.- Overrides:
getMessage
in classThrowable
- Returns:
- the detail message string of this Throwable instance (which may be null).
-
-