Kie Workbench - Common - UI 6.2.0.Final

org.kie.workbench.common.widgets.client.callbacks
Class CommandDrivenErrorCallback

java.lang.Object
  extended by org.uberfire.ext.widgets.common.client.callbacks.DefaultErrorCallback
      extended by org.uberfire.ext.widgets.common.client.callbacks.HasBusyIndicatorDefaultErrorCallback
          extended by org.kie.workbench.common.widgets.client.callbacks.CommandDrivenErrorCallback
All Implemented Interfaces:
org.jboss.errai.common.client.api.ErrorCallback<org.jboss.errai.bus.client.api.messaging.Message>

public class CommandDrivenErrorCallback
extends org.uberfire.ext.widgets.common.client.callbacks.HasBusyIndicatorDefaultErrorCallback

Error Callback that allows Commands to be defined to handled Exceptions


Field Summary
 
Fields inherited from class org.uberfire.ext.widgets.common.client.callbacks.HasBusyIndicatorDefaultErrorCallback
view
 
Constructor Summary
CommandDrivenErrorCallback(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view, Map<Class<? extends Throwable>,org.uberfire.mvp.Command> commands)
           
 
Method Summary
 boolean error(org.jboss.errai.bus.client.api.messaging.Message message, Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandDrivenErrorCallback

public CommandDrivenErrorCallback(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view,
                                  Map<Class<? extends Throwable>,org.uberfire.mvp.Command> commands)
Method Detail

error

public boolean error(org.jboss.errai.bus.client.api.messaging.Message message,
                     Throwable throwable)
Specified by:
error in interface org.jboss.errai.common.client.api.ErrorCallback<org.jboss.errai.bus.client.api.messaging.Message>
Overrides:
error in class org.uberfire.ext.widgets.common.client.callbacks.HasBusyIndicatorDefaultErrorCallback

Kie Workbench - Common - UI 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.