How would I only allow an object to be created if the arguments are met? I tried using error handling but the object still gets created regardless of the value inputted.