Package com.xmlcalabash.exceptions
Class XProcError
-
- All Implemented Interfaces:
public final class XProcError
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
XProcError.Companion
-
Field Summary
Fields Modifier and Type Field Description private Throwable
_throwable
private final Throwable
throwable
private final Stack<ErrorStackFrame>
stackTrace
private final QName
code
private final Integer
variant
private final Location
location
private final Location
inputLocation
private final Array<out Object>
details
public final static XProcError.Companion
Companion
-
Constructor Summary
Constructors Constructor Description XProcError(QName code, Location location, Location inputLocation, Object details)
-
Method Summary
Modifier and Type Method Description final Throwable
get_throwable()
final Unit
set_throwable(Throwable _throwable)
final Throwable
getThrowable()
final Stack<ErrorStackFrame>
getStackTrace()
final QName
getCode()
final Integer
getVariant()
final Location
getLocation()
final Location
getInputLocation()
final Array<out Object>
getDetails()
final XProcError
asStatic()
final XProcError
at(Location location)
final XProcError
at(Location saxonLocation)
final XProcError
at(XdmNode node)
final XProcError
at(XProcDocument doc)
final XProcError
at(QName type, String name)
final XProcError
at(ErrorStackFrame frame)
final XProcError
with(QName newCode)
final XProcException
exception()
final XProcException
exception(Throwable cause)
String
toString()
-
-
Method Detail
-
get_throwable
final Throwable get_throwable()
-
set_throwable
final Unit set_throwable(Throwable _throwable)
-
getThrowable
final Throwable getThrowable()
-
getStackTrace
final Stack<ErrorStackFrame> getStackTrace()
-
getCode
final QName getCode()
-
getVariant
final Integer getVariant()
-
getLocation
final Location getLocation()
-
getInputLocation
final Location getInputLocation()
-
getDetails
final Array<out Object> getDetails()
-
asStatic
final XProcError asStatic()
-
at
final XProcError at(Location location)
-
at
final XProcError at(Location saxonLocation)
-
at
final XProcError at(XdmNode node)
-
at
final XProcError at(XProcDocument doc)
-
at
final XProcError at(QName type, String name)
-
at
final XProcError at(ErrorStackFrame frame)
-
with
final XProcError with(QName newCode)
-
exception
final XProcException exception()
-
exception
final XProcException exception(Throwable cause)
-
-
-
-