Code example for Timestamp

0
            chain.doFilter(request, response);
        } 
        catch (Exception ex) {
            logger.fatal("Logging uncaught exception!", ex);
            Integer apiRequestId = (Integer) request.getAttribute("apiRequestId");
            exceptionLogger.logException(ex, new Timestamp(new Date().getTime()), apiRequestId);
        } 
    } 
 
    @Override 
    public void destroy() {} 
}