I was wondering what people thought about the idea of making more of an
effort to use ServiceRuntimeException to wrap whatever RuntimeExceptions are
thrown through the runtime.
For example, JDKInvocationHandler could catch UndeclaredThrowableException
and throw back ServiceRuntimeException instead.

This would make ServiceRuntimeException more a part of the SCA Java
programming model as opposed to just a useful base class for SCA runtime
implementors.

I don't know if I'm reading into the specs too much.. or maybe something
like I suggested was an intent.     Still, any thoughts about a Tuscany view
here?   (apologies as always if this
was discussed but I missed it).

Scott

<http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/UndeclaredThrowableException.html>

Reply via email to