IdlType type = findType(rs.getException());
if (type instanceof IdlException) {
idlOp.addException((IdlException)type);
} else {
String msgStr = type.fullName() + " is not a type.";
org.objectweb.celtix.common.i18n.Message msg =
new org.objectweb.celtix.common.i18n.Message(msgStr, LOG);
throw new Exception(msg.toString());
}
}