net.trajano.twiff.renderer
Class ElementBuilderException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.xml.sax.SAXException
              extended by net.trajano.twiff.renderer.ElementBuilderException
All Implemented Interfaces:
Serializable

public class ElementBuilderException
extends SAXException

This exception is thrown when there is a problem building an element. It is made as a SAXException since this only occurs during SAX parsing events.

Author:
Archimedes Trajano
See Also:
Serialized Form

Constructor Summary
ElementBuilderException(Locator locator, String uri, String localName, String qName, Attributes attributes)
           
ElementBuilderException(Locator locator, String uri, String localName, String qName, Attributes attributes, Exception exception)
           
 
Method Summary
 Locator getLocator()
          This returns the locator associated with the exception.
 
Methods inherited from class org.xml.sax.SAXException
getException, getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElementBuilderException

public ElementBuilderException(Locator locator,
                               String uri,
                               String localName,
                               String qName,
                               Attributes attributes)
Parameters:
locator -
uri -
localName -
qName -
attributes -

ElementBuilderException

public ElementBuilderException(Locator locator,
                               String uri,
                               String localName,
                               String qName,
                               Attributes attributes,
                               Exception exception)
Parameters:
locator -
uri -
localName -
qName -
attributes -
exception - the root cause exception
Method Detail

getLocator

public final Locator getLocator()
This returns the locator associated with the exception.

Returns:
the locator


Copyright © 2004-2005 trajano.net. All Rights Reserved.