Aspects


vs


Argumentexception

An ArgumentException is a specific exception in the .NET framework thrown when one of the arguments provided to a method is not valid.

Invalidoperationexception

The exception that is thrown when a method call is invalid for the object's current state.