I noticed that there are 183 instances in which SynapseException is thrown and that it is a RuntimeException. What is the design decision behind making this a RuntimeException rather than a checked one?
See http://java.sun.com/docs/books/tutorial/essential/exceptions/runtime.html Here are some relevant snippets from that doc: "Runtime exceptions represent problems that are the result of a programming problem, and as such, the API client code cannot reasonably be expected to recover from them or to handle them in any way. " "If a client can reasonably be expected to recover from an exception, make it a checked exception. If a client cannot do anything to recover from the exception, make it an unchecked exception" -- Thanks Afkham Azeez http://afkham.org http://www.wso2.org GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2 C887 665E 0760
