Split the Throw() method in two parts - message building and exception throwing. This enables scenarios for creating application and context specific Throw methods. For exmaple sometimes you may need to throw configuration exception -> this could be achieved easily trough creating ThrowConfigurationException() extension method.
Split the Throw() method in two parts - message building and exception throwing. This enables scenarios for creating application and context specific Throw methods. For exmaple sometimes you may need to throw configuration exception -> this could be achieved easily trough creating ThrowConfigurationException() extension method.