|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.web.bindery.requestfactory.server.DefaultExceptionHandler
public class DefaultExceptionHandler
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 |
---|
public DefaultExceptionHandler()
Method Detail |
---|
public ServerFailure createServerFailure(java.lang.Throwable throwable)
ExceptionHandler
ServerFailure
based on the information contained in the
received exception
.
createServerFailure
in interface ExceptionHandler
throwable
- a Throwable instance
ServerFailure
instanceDefaultExceptionHandler
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |