Name | Checked | Synopsis |
---|
8@101
|
|
Only throw exceptions in exceptional situations |
8@102
|
 |
Do not throw exceptions from unexpected locations |
8@103
|
|
Only re-throw exceptions when you want to specialize the exception |
8@104
|
|
Document the exceptions that are explicitly thrown by a method or a property |
8@105
|
|
Always log that an exception is thrown |
8@106
|
|
Allow callers to prevent exceptions by providing a method or property that returns the object's state |
8@107
|
 |
Use standard exceptions |
8@108
|
|
Throw informational exceptions |
8@109
|
|
Throw the most specific exception possible |
8@110
|
 |
Do not silently ignore exceptions |
8@111
|
|
Throw exceptions rather than returning some kind of status value |
8@201
|
 |
Derive custom exceptions from ApplicationException |
8@202
|
 |
Provide common constructors for custom exceptions |
8@203
|
|
Avoid side-effects when throwing recoverable exceptions |
8@204
|
 |
Do not throw an exception from inside an exception constructor |