avoid throwing exceptions in isApplicable