What i often thought to do is adding a real ID (error codes) to
XmlBlasterException.
I would still stick with only one Exception, namely the
XmlBlasterException,
otherwise every new exception type would brake the interface contract
between client and server.
But having a list of documented IDs (error codes) is probably a good
approach,
similar to the
HTTP error codes:
HTTP/1.1 400 Bad Request
HTTP/1.1 501 Method Not Implemented
...
or to the
JDBC error 'SQLstate" string, which follows either the XOPEN SQLstate
conventions or the SQL 99 conventions'
JMS uses the JMS Exception with some derived Exception types,
but as we are not Java only and with the above mentioned reasons,
i would probably prefer to stick with one exception only.
Any comments?