## Uses of Class
com.google.web.bindery.requestfactory.shared.ServerFailure

- Packages that use ServerFailure
  Package | Description
  --- | ---
  com.google.web.bindery.requestfactory.server | Server side classes for mediating between the client side and the persistent datastore.
  com.google.web.bindery.requestfactory.shared | Shared classes used on both the client and the server side for transmitting data between the server and the client in JSON format.

- - ### Uses of ServerFailure in com.google.web.bindery.requestfactory.server

    Methods in com.google.web.bindery.requestfactory.server that return ServerFailure
    Modifier and Type | Method and Description
    --- | ---
    `ServerFailure` | DefaultExceptionHandler.`createServerFailure(java.lang.Throwable throwable)`
    `ServerFailure` | ExceptionHandler.`createServerFailure(java.lang.Throwable throwable)` Generates a `ServerFailure` based on the information contained in the received `exception`.

  - ### Uses of ServerFailure in com.google.web.bindery.requestfactory.shared

    Methods in com.google.web.bindery.requestfactory.shared with parameters of type ServerFailure
    Modifier and Type | Method and Description
    --- | ---
    `void` | FanoutReceiver.`onFailure(ServerFailure error)`
    `void` | Receiver.`onFailure(ServerFailure error)` Receives general failure notifications.
    `void` | RequestTransport.TransportReceiver.`onTransportFailure(ServerFailure failure)` Called to report a transmission failure as a ServerFailure.