Class CommandWithThrowableDrivenErrorCallback
- 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.CommandWithThrowableDrivenErrorCallback
-
- All Implemented Interfaces:
org.jboss.errai.common.client.api.ErrorCallback<org.jboss.errai.bus.client.api.messaging.Message>
public class CommandWithThrowableDrivenErrorCallback extends org.uberfire.ext.widgets.common.client.callbacks.HasBusyIndicatorDefaultErrorCallbackError Callback that allows Commands to be defined to handled Exceptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCommandWithThrowableDrivenErrorCallback.CommandWithThrowable
-
Constructor Summary
Constructors Constructor Description CommandWithThrowableDrivenErrorCallback(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view, Map<Class<? extends Throwable>,CommandWithThrowableDrivenErrorCallback.CommandWithThrowable> commands)CommandWithThrowableDrivenErrorCallback(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view, Map<Class<? extends Throwable>,CommandWithThrowableDrivenErrorCallback.CommandWithThrowable> commands, CommandWithThrowableDrivenErrorCallback.CommandWithThrowable defaultCommand)CommandWithThrowableDrivenErrorCallback(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view, CommandWithThrowableDrivenErrorCallback.CommandWithThrowable defaultCommand)
-
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)
-
-
-
Constructor Detail
-
CommandWithThrowableDrivenErrorCallback
public CommandWithThrowableDrivenErrorCallback(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view, Map<Class<? extends Throwable>,CommandWithThrowableDrivenErrorCallback.CommandWithThrowable> commands)
-
CommandWithThrowableDrivenErrorCallback
public CommandWithThrowableDrivenErrorCallback(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view, Map<Class<? extends Throwable>,CommandWithThrowableDrivenErrorCallback.CommandWithThrowable> commands, CommandWithThrowableDrivenErrorCallback.CommandWithThrowable defaultCommand)
-
CommandWithThrowableDrivenErrorCallback
public CommandWithThrowableDrivenErrorCallback(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view, CommandWithThrowableDrivenErrorCallback.CommandWithThrowable defaultCommand)
-
-
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
-
-