public static ModelAndView produceErrorView(final Exception e) {
        return produceErrorView(e, HttpStatus.UNAUTHORIZED);
    }
Produce error view model and view.

@param e the e
@return the model and view
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/util/OAuth20Utils.java