def METHOD_NAME(self, title, message, context):
    print "Fido2Extension. Setting Bad request exception"
    errorClaimException = Fido2ErrorResponseFactory.createBadRequestException(Fido2ErrorResponseType.BAD_REQUEST_INTERCEPTION, title, message, ThreadContext.get(Constants.CORRELATION_ID_HEADER))
    context.setWebApplicationException(errorClaimException)