The MSDN page about Best Practices for Handling Exceptions says
Throw an ArgumentException or a class derived from ArgumentException
if invalid parameters are passed.
So i would say it’s ok and even recommended.
The MSDN page about Best Practices for Handling Exceptions says
Throw an ArgumentException or a class derived from ArgumentException
if invalid parameters are passed.
So i would say it’s ok and even recommended.