The following list of exceptions are too generic and should not be raised directly by your code:
EXCEPTION | CONDITION |
InvalidOperationException | An action is performed which is not valid considering the object's current state.
|
NotSupportedException | An action is performed which is may be valid in the future, but is not supported.
|
ArgumentException | An incorrect argument is supplied.
|
ArgumentNullException | A null reference is supplied as a method's parameter that does not allow null.
|
ArgumentOutOfRangeException | An argument is not within the required range.
|