Example usage for com.google.gwt.debugpanel.common Utils currentTimeMillis

List of usage examples for com.google.gwt.debugpanel.common Utils currentTimeMillis

Introduction

In this page you can find the example usage for com.google.gwt.debugpanel.common Utils currentTimeMillis.

Prototype

public static double currentTimeMillis() 

Source Link

Usage

From source file:com.example.app.client.ExceptionHandler.java

License:Apache License

private void dispatch(Throwable t) {
    double now = Utils.currentTimeMillis();
    StatisticsEvent event = dispatcher.newEvent("error", "error", now, "error");
    dispatcher.setExtraParameter(event, "error", serializer.serialize(t));
    dispatcher.dispatch(event);//from ww  w  . j av  a 2  s . c  o  m
}