Errai 3.0.1-SNAPSHOT

org.jboss.errai.bus.client.api.builder
Interface RemoteCallErrorDef


public interface RemoteCallErrorDef

This interface, RemoteCallErrorDef is a template for creating a remote call error handler. It ensures that the error is constructed properly


Method Summary
 RemoteCallSendable defaultErrorHandling()
          Sets the default error handler function and returns an instance of RemoteCallSendable
 RemoteCallSendable errorsHandledBy(ErrorCallback errorCallback)
          Sets the error handler function and returns an instance of RemoteCallSendable
 

Method Detail

errorsHandledBy

RemoteCallSendable errorsHandledBy(ErrorCallback errorCallback)
Sets the error handler function and returns an instance of RemoteCallSendable

Parameters:
errorCallback - - the error handler
Returns:
an instance of RemoteCallSendable

defaultErrorHandling

RemoteCallSendable defaultErrorHandling()
Sets the default error handler function and returns an instance of RemoteCallSendable

Returns:
an instance of RemoteCallSendable

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.