GWT 2.7.0

## com.google.web.bindery.requestfactory.server
Class DefaultExceptionHandler

    java.lang.Object
      com.google.web.bindery.requestfactory.server.DefaultExceptionHandler

All Implemented Interfaces:
  ExceptionHandler

    public class DefaultExceptionHandler

extends java.lang.Object
implements ExceptionHandler

Default implementation for handling exceptions thrown while processing a request. Suppresses stack traces and the exception class name.

Constructor Summary
`DefaultExceptionHandler()`

Method Summary
`ServerFailure` | `createServerFailure(java.lang.Throwable throwable)` Generates a `ServerFailure` based on the information contained in the received `exception`.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultExceptionHandler

    public DefaultExceptionHandler()

Method Detail

### createServerFailure

    public ServerFailure createServerFailure(java.lang.Throwable throwable)

  Description copied from interface: `ExceptionHandler`
  Generates a `ServerFailure` based on the information contained in the received `exception`.

  Specified by:
    `createServerFailure` in interface `ExceptionHandler`
  Parameters:
    `throwable` - a Throwable instance
  Returns:
    a `ServerFailure` instance
  See Also:
    `DefaultExceptionHandler`

GWT 2.7.0