String[] exceptionTypes = methodInfo.getExceptionTypes();
for (int i = 0; i < exceptionTypes.length; i++) {
Class exceptionType = loadClass(exceptionTypes[i]);
String exceptionId = ExceptionType.getExceptionType(exceptionType).getExceptionRepositoryId();
if (id.equals(exceptionId)) {
Throwable t = (Throwable)in.read_value(exceptionType);
throw new ServiceRuntimeException(t); // FIXME should
// be
// ServcieBusinessException?
// no support by
// Tuscany core