@Override
    public PolicyFailure createFailure(PolicyFailureType type, int failureCode, String message) {
        PolicyFailure failure = new PolicyFailure(type, failureCode, message);
        return failure;
    }
@see io.apiman.gateway.engine.components.IPolicyFailureFactoryComponent#createFailure(io.apiman.gateway.engine.beans.PolicyFailureType, int, java.lang.String)
gateway/engine/core/src/main/java/io/apiman/gateway/engine/impl/DefaultPolicyFailureFactoryComponent.java