public class

DefaultExceptionHandler

extends Object
implements ExceptionHandler
java.lang.Object
   ↳ com.google.gwt.requestfactory.server.DefaultExceptionHandler

Class Overview

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

Summary

Public Constructors
DefaultExceptionHandler()
Public Methods
ServerFailure createServerFailure(Throwable throwable)
Generates a ServerFailure based on the information contained in the received exception.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.requestfactory.server.ExceptionHandler

Public Constructors

public DefaultExceptionHandler ()

Public Methods

public ServerFailure createServerFailure (Throwable throwable)

Generates a ServerFailure based on the information contained in the received exception.

Parameters
throwable a Throwable instance
Returns