gbishop / outfox

Automatically exported from code.google.com/p/outfox
Other
1 stars 0 forks source link

Catch extension exceptions during service start #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The ServerProxy class is the wrong place to convert most exceptions into
JSON formatted responses for the client. The ServerProxy should fire
informative exceptions which the Factory or PageController should then
catch and convert to a proper format for the client. Doing it in the SP
means we have to catch EVERYTHING which is pretty tough. Easier to catch
all one level up and provide what information we get to the client.

Original issue reported on code.google.com by c...@unc.edu on 30 Nov 2008 at 4:23

GoogleCodeExporter commented 9 years ago

Original comment by c...@unc.edu on 1 Dec 2008 at 2:17