public void receive(Exception ex) {
SCMPMessage reqMessage = this.request.getMessage();
String sid = reqMessage.getSessionId();
LOGGER.warn("receive exception sid=" + sid + " " + ex.toString());
SCMPMessage fault = null;
SCMPVersion scmpVersion = reqMessage.getSCMPVersion();
if (ex instanceof IdleTimeoutException) {
// operation timeout handling - SCMP Version request
fault = new SCMPMessageFault(scmpVersion, SCMPError.OPERATION_TIMEOUT, "Operation timeout expired on SC sid=" + sid);
} else if (ex instanceof IOException) {
fault = new SCMPMessageFault(scmpVersion, SCMPError.CONNECTION_EXCEPTION, "broken connection on SC sid=" + sid);