Tuscany Core

org.apache.tuscany.core.config
Class InvalidRootElementException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.tuscany.common.TuscanyException
              extended by org.apache.tuscany.core.config.ConfigurationException
                  extended by org.apache.tuscany.core.config.ConfigurationLoadException
                      extended by org.apache.tuscany.core.config.InvalidRootElementException
All Implemented Interfaces:
Serializable

public class InvalidRootElementException
extends ConfigurationLoadException

Configuration exception that indicates the actual root element in an XML file was not the one expected.

Version:
$Rev: 408581 $ $Date: 2006-05-21 23:34:24 -0700 (Sun, 21 May 2006) $
See Also:
Serialized Form

Constructor Summary
InvalidRootElementException(QName expected, QName actual)
           
 
Method Summary
 QName getActual()
           
 QName getExpected()
           
 
Methods inherited from class org.apache.tuscany.core.config.ConfigurationLoadException
getResourceURI, setResourceURI
 
Methods inherited from class org.apache.tuscany.common.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

InvalidRootElementException

public InvalidRootElementException(QName expected,
                                   QName actual)
Method Detail

getExpected

public QName getExpected()

getActual

public QName getActual()

Tuscany Core

-