Class CommandDrivenErrorCallback
- java.lang.Object
-
- org.uberfire.ext.widgets.common.client.callbacks.DefaultErrorCallback
-
- org.uberfire.ext.widgets.common.client.callbacks.HasBusyIndicatorDefaultErrorCallback
-
- 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.HasBusyIndicatorDefaultErrorCallbackError Callback that allows Commands to be defined to handled Exceptions
-
-
Constructor Summary
Constructors Constructor Description CommandDrivenErrorCallback(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view, Map<Class<? extends Throwable>,org.uberfire.mvp.Command> commands)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanerror(org.jboss.errai.bus.client.api.messaging.Message message, Throwable throwable)
-
-
-
Method Detail
-
error
public boolean error(org.jboss.errai.bus.client.api.messaging.Message message, Throwable throwable)- Specified by:
errorin interfaceorg.jboss.errai.common.client.api.ErrorCallback<org.jboss.errai.bus.client.api.messaging.Message>- Overrides:
errorin classorg.uberfire.ext.widgets.common.client.callbacks.HasBusyIndicatorDefaultErrorCallback
-
-