((Command)msg.getPayload()).getArguments().get(0) instanceof RuntimeException)
payload = ((Command)msg.getPayload()).getArguments().get(0);
if (( payload != null && payload instanceof RuntimeException )) {
responseHandler.setError( (RuntimeException) payload );
} else {
responseHandler.receive( msg );
}
} else if ( handler != null ) {
this.handler.messageReceived( writer,
msg );
} else {