org.jibx.ws.io.handler
Class ExceptionReader

java.lang.Object
  extended by org.jibx.ws.io.handler.ExceptionReader
All Implemented Interfaces:
InHandler

public final class ExceptionReader
extends Object
implements InHandler

Reads an exception from an XML element.


Constructor Summary
ExceptionReader()
           
 
Method Summary
 Object invoke(InContext context, IXMLReader xmlReader)
          Reads an exception from an XML element, with an element name of <Exception>.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionReader

public ExceptionReader()
Method Detail

invoke

public Object invoke(InContext context,
                     IXMLReader xmlReader)
              throws IOException,
                     WsException
Reads an exception from an XML element, with an element name of <Exception>.

Specified by:
invoke in interface InHandler
Parameters:
context - the current inbound context
xmlReader - the current xml reader
Returns:
true
Throws:
IOException - on I/O error
WsException - on parse error, or incorrect start tag


Project Web Site