I am trying to set up: if (ResponseCode.isDisabledError(18) || ResponseCode.isDisabledError(4)){ do stuff }   And it works, but too well. It does stuff on any kind of failure. Is there a way to make it only do stuff with these errors and do other stuff with any other error?