org.apache.tuscany.sca.contribution.service
Class UnrecognizedElementException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.tuscany.sca.contribution.service.AbstractContributionException
              extended by org.apache.tuscany.sca.contribution.service.ContributionException
                  extended by org.apache.tuscany.sca.contribution.service.ContributionReadException
                      extended by org.apache.tuscany.sca.contribution.service.UnrecognizedElementException
All Implemented Interfaces:
java.io.Serializable

public class UnrecognizedElementException
extends ContributionReadException

Exception that indicates an element was encountered that could not be handled.

Version:
$Rev: 525638 $ $Date: 2007-04-04 16:36:03 -0700 (Wed, 04 Apr 2007) $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.tuscany.sca.contribution.service.ContributionReadException
UNDEFINED
 
Constructor Summary
UnrecognizedElementException(javax.xml.namespace.QName element)
          Constructor that indicates which element could not be handled.
 
Method Summary
 javax.xml.namespace.QName getElement()
          Returns the element that could not be handled.
 
Methods inherited from class org.apache.tuscany.sca.contribution.service.ContributionReadException
getColumn, getLine, getResourceURI, setColumn, setLine, setResourceURI
 
Methods inherited from class org.apache.tuscany.sca.contribution.service.AbstractContributionException
appendBaseMessage, getIdentifier
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnrecognizedElementException

public UnrecognizedElementException(javax.xml.namespace.QName element)
Constructor that indicates which element could not be handled.

Parameters:
element - the element that could not be handled
Method Detail

getElement

public javax.xml.namespace.QName getElement()
Returns the element that could not be handled.

Returns:
the element that could not be handled.