dk.brics.xact
Class XMLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by dk.brics.xact.XMLException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
XMLAnalysisException, XMLPlugException, XMLTemplateException, XMLValidationException, XMLWellformednessException, XMLXPathException

public class XMLException
extends RuntimeException

Runtime exception caused by an invalid XML operation.

See Also:
Serialized Form

Constructor Summary
XMLException(String s)
          Constructs a new exception.
XMLException(String s, Origin origin)
          Constructs a new exception.
XMLException(String s, Throwable cause)
          Constructs a new exception.
XMLException(String s, Throwable cause, Origin origin)
          Constructs a new exception.
XMLException(Throwable cause)
          Constructs a new exception.
XMLException(Throwable cause, Origin origin)
          Constructs a new exception.
 
Method Summary
 Origin getOrigin()
          Returns a relevant source location, or null if not available.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLException

public XMLException(String s)
Constructs a new exception.


XMLException

public XMLException(String s,
                    Origin origin)
Constructs a new exception.


XMLException

public XMLException(String s,
                    Throwable cause)
Constructs a new exception.


XMLException

public XMLException(String s,
                    Throwable cause,
                    Origin origin)
Constructs a new exception.


XMLException

public XMLException(Throwable cause)
Constructs a new exception.


XMLException

public XMLException(Throwable cause,
                    Origin origin)
Constructs a new exception.

Method Detail

getOrigin

public Origin getOrigin()
Returns a relevant source location, or null if not available.



Copyright © 2005-2011 Aarhus University.