Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Using Request-Reply | The Server | Delivering Replies | Delivering Error Replies
 
Delivering Error Replies
The server application delivers an error reply to indicate that some sort of exception occurred while attempting to process the request event.
. . .
BrokerEvent err[] = new BrokerEvent[1];
. . .
/* Make error reply event */
err[0] = new BrokerEvent(c,"Adapter::error");
try {
c.deliverReplyEvent(e, err);
} catch (BrokerException ex) {
. . .
}
. . .