MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.model
Class FnErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ch.ethz.mxquery.exceptions.MXQueryException
              extended by ch.ethz.mxquery.exceptions.DynamicException
                  extended by ch.ethz.mxquery.model.FnErrorException
All Implemented Interfaces:
java.io.Serializable

public class FnErrorException
extends DynamicException

TODO: Replace by fn:error

See Also:
Serialized Form

Constructor Summary
FnErrorException(QName qname, QueryLocation loc)
           
FnErrorException(QName qname, java.lang.String description, QueryLocation loc)
           
FnErrorException(QName qname, java.lang.String description, XDMIterator errorObject, QueryLocation loc)
           
FnErrorException(QueryLocation loc)
           
 
Method Summary
 XDMIterator getErrorObject()
           
 void printStackTrace()
           
 
Methods inherited from class ch.ethz.mxquery.exceptions.MXQueryException
getCause, getErrorCode, getErrorPosition, getLocation, getMessage, initCause, printErrorPosition
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FnErrorException

public FnErrorException(QueryLocation loc)

FnErrorException

public FnErrorException(QName qname,
                        QueryLocation loc)

FnErrorException

public FnErrorException(QName qname,
                        java.lang.String description,
                        QueryLocation loc)

FnErrorException

public FnErrorException(QName qname,
                        java.lang.String description,
                        XDMIterator errorObject,
                        QueryLocation loc)
Method Detail

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

getErrorObject

public XDMIterator getErrorObject()

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich