Apache Tuscany SCA Kernel Sub-Project

org.apache.tuscany.spi.loader
Class UnexpectedElementException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.tuscany.api.TuscanyException
              extended by org.apache.tuscany.spi.loader.LoaderException
                  extended by org.apache.tuscany.spi.loader.UnexpectedElementException
All Implemented Interfaces:
Serializable

public class UnexpectedElementException
extends LoaderException

Exception that indicates that an element was found during loading that when loaded resulted in an unexpected type. This should not occur if the document being parsed conforms to its schema. The messages set to the name of the element

Version:
$Rev: 430937 $ $Date: 2006-08-11 18:17:56 -0700 (Fri, 11 Aug 2006) $
See Also:
Serialized Form

Constructor Summary
UnexpectedElementException(QName element)
           
 
Method Summary
 
Methods inherited from class org.apache.tuscany.spi.loader.LoaderException
getResourceURI, setResourceURI
 
Methods inherited from class org.apache.tuscany.api.TuscanyException
addContextName, getIdentifier, getMessage, returnContextNames, setIdentifier
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

UnexpectedElementException

public UnexpectedElementException(QName element)

Apache Tuscany SCA Kernel Sub-Project

-