Because CX_ROOT
is the base exception type, catching it directly probably casts a wider net than you intended. Catching
CX_ROOT
could mask far more serious system errors that your CATCH
logic was intended to deal with.
Some smaller, more specific exception type should be caught instead.