ThrowExceptions configures a class to throw execptions.
Parameters:
state
If state is true, any methods in this class will throw exceptions if any errors occur. If state is false, the methods will log software errors for reading at a later time
Sample Code:
// Configure this class to stop throwing exceptions.
controller->ThrowExceptions(false);