net.sf.saxon.trans
Class DynamicError
public class DynamicError
Subclass of XPathException used for dynamic errors
getErrorCodeLocalPart , getErrorCodeNamespace , getErrorObject , getXPathContext , hasBeenReported , isStaticError , isTypeError , makeStatic , makeXPathException , maybeSetContext , maybeSetLocation , setErrorCode , setErrorCode , setErrorObject , setHasBeenReported , setIsStaticError , setIsTypeError , setXPathContext |
DynamicError
public DynamicError(String message)
DynamicError
public DynamicError(String message,
SourceLocator loc)
DynamicError
public DynamicError(String message,
SourceLocator loc,
Throwable err)
DynamicError
public DynamicError(String message,
String errorCode)
DynamicError
public DynamicError(String message,
String errorCode,
XPathContext context)
DynamicError
public DynamicError(String message,
Throwable err)
DynamicError
public DynamicError(Throwable err)
makeDynamicError
public static DynamicError makeDynamicError(TransformerException err)
maybeSetLocation
public void maybeSetLocation(SourceLocator locator,
XPathContext context)
Set the location and/or context of a message, only if they are
not already set
locator
- the current location (or null)context
- the current context (or null)