You don&#x27;t like exceptions so your solution is creating an instance of a specialized class that holds my variable that has a method that acts like an &quot;if&quot; statement that I need to pass an anonymous function to that receives the value I already have?