by ncmncm · 5y ago · 0 comments
An exception, by definition, is to enable recovery from externally imposed events in a well-defined program state.
The only useful, meaningful response to discovering a contract violation is termination. Throwing an exception is the worst imaginable response.