com.gwtplatform.dispatch.server
Class Utils
java.lang.Object
com.gwtplatform.dispatch.server.Utils
public class Utils
- extends Object
Collection of utility methods.
- Author:
- Philippe Beaudoin
Constructor Summary |
Utils()
|
Method Summary |
static void |
logStackTrace(Logger log,
Level level,
Throwable e)
Logs an entire stack trace to the logger, so that it can easily be viewed
in the App Engine log. |
static void |
logStackTrace(Logger log,
Throwable e)
Logs an entire stack trace to the logger, so that it can easily be viewed
in the App Engine log. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
logStackTrace
public static void logStackTrace(Logger log,
Throwable e)
- Logs an entire stack trace to the logger, so that it can easily be viewed
in the App Engine log. The exception will be logged as a severe error. See
also
logStackTrace(Logger, Level, Throwable)
.
- Parameters:
log
- The Logger
to use.e
- The Exception
with the stack trace to log.
logStackTrace
public static void logStackTrace(Logger log,
Level level,
Throwable e)
- Logs an entire stack trace to the logger, so that it can easily be viewed
in the App Engine log.
- Parameters:
log
- The Logger
to use.level
- The Level
at which to log the stac trace.e
- The Exception
with the stack trace to log.
Copyright © 2010-2013 JBoss by Red Hat. All Rights Reserved.