public View getFailureView(final Class type) {
        return getView(type.getSimpleName()).getValue();
    }
Gets failure view.

@param type the type
@return the failure view
support/cas-server-support-validation-core/src/main/java/org/apereo/cas/web/ServiceValidationViewFactory.java