else { // SUBSCRIBE, CONNECT etc. return a String
throw new XmlBlasterException(glob, ErrorCode.INTERNAL_UNKNOWN, ME, "The method " + receiver.getMethodName() + " is not expected in this context");
}
}
else if (receiver.isException()) { // XmlBlasterException
listener.incomingMessage(receiver.getRequestId(), receiver.getException());
}
else {
log.severe("PANIC: Invalid response message for " + receiver.getMethodName());
listener.incomingMessage(receiver.getRequestId(), new XmlBlasterException(glob, ErrorCode.INTERNAL_ILLEGALARGUMENT, ME, "Invalid response message '" + receiver.getMethodName()));
}