On 10/5/14, 8:08 AM, Marco Leise wrote:
Nice, finally someone who actually wants to discern Exception types. I'm always at a loss as to what warrants its own exception type. E.g. when looking at network protocols, would a 503 be a NetworkException, a HTTPException or a HTTPInternalServerErrorException ? Where do*you* wish libraries would differentiate? Or does it really come down to categories like "illegal argument", "division by zero", "null pointer", "out of memory" for you?
That reflects my misgivings about using exception hierarchies for error kinds as well. -- Andrei