Parameterized failure (exception) handling