Correct exceptions handling --- prevent from server go down
Authored by: artyom-beilis 2008-09-18
Parent: [r419]
Child: [r421]