public synchronized static ExceptionMapper getServletInstance() {
        if (servletInstance == null) {
            servletInstance = new ExceptionMapper();
        }
        return servletInstance;
    }
Returns exception mapper instance used in servlet mode

@return servlet instance
src/main/java/spark/ExceptionMapper.java