org.sca4j.introspection.xml
Class UnrecognizedElementException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.sca4j.host.SCA4JException
              extended by org.sca4j.introspection.IntrospectionException
                  extended by org.sca4j.introspection.xml.LoaderException
                      extended by org.sca4j.introspection.xml.UnrecognizedElementException
All Implemented Interfaces:
java.io.Serializable

public class UnrecognizedElementException
extends LoaderException

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

Version:
$Rev: 4282 $ $Date: 2008-05-21 03:03:43 +0100 (Wed, 21 May 2008) $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.sca4j.introspection.xml.LoaderException
UNDEFINED
 
Constructor Summary
UnrecognizedElementException(javax.xml.stream.XMLStreamReader reader)
          Constructor that indicates which resource could not be found.
 
Method Summary
 javax.xml.namespace.QName getElement()
           
 java.lang.String getMessage()
           
 
Methods inherited from class org.sca4j.introspection.xml.LoaderException
getColumn, getLine, getResourceURI, toString
 
Methods inherited from class org.sca4j.host.SCA4JException
getIdentifier, printStackTraceElements
 
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

UnrecognizedElementException

public UnrecognizedElementException(javax.xml.stream.XMLStreamReader reader)
Constructor that indicates which resource could not be found. The supplied parameter is also returned as the message.

Parameters:
reader - the StAX reader positioned on the unrecognized element
Method Detail

getElement

public javax.xml.namespace.QName getElement()

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable


Copyright © 2008-2011 Service Symphony. All Rights Reserved.