@Override
	final protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		resp.setBufferSize(BUFFER_SIZE);
		getCount.incrementAndGet();
		try {
			reportingDoGet(req, resp);
		} catch (ThreadDeath t) {
			throw t;
		} catch (RuntimeException | ServletException | IOException e) {
			getLogger().log(Level.SEVERE, null, e);
			throw e;
		} catch (SQLException t) {
			getLogger().log(Level.SEVERE, null, t);
			throw new ServletException(t);
		}
	}
@ Override final protected void doGet ( HttpServletRequest req , HttpServletResponse resp ) throws ServletException , IOException { resp . setBufferSize ( BUFFER_SIZE ) ; getCount . incrementAndGet ( ) ; try { reportingDoGet ( req , resp ) ; } catch ( ThreadDeath t ) { throw t ; } catch ( RuntimeException | ServletException | IOException e ) { getLogger ( ) . log ( Level . SEVERE , null , e ) ; throw e ; } catch ( SQLException t ) { getLogger ( ) . log ( Level . SEVERE , null , t ) ; throw new ServletException ( t ) ; } }
Any error that occurs during a <code>doGet</code> is caught and reported here.