code: @Override
      public void sendError(int sc, String msg) throws IOException {
          this.checkState();
          super.sendError(sc, msg);
      }
docs: /* (non-Javadoc)
  @see javax.servlet.http.HttpServletResponseWrapper#sendError(int, java.lang.String)