org.jibx.ws.io.handler
Class ExceptionReader
java.lang.Object
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.
ExceptionReader
public ExceptionReader()
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 contextxmlReader
- the current xml reader
- Returns:
true
- Throws:
IOException
- on I/O error
WsException
- on parse error, or incorrect start tag