public class ThrowableFailureEvent extends java.lang.Object implements HasExecutionScope
ErrorDialogManager
.Modifier and Type | Field and Description |
---|---|
protected boolean |
suppressErrorUi |
protected java.lang.Throwable |
throwable |
Constructor and Description |
---|
ThrowableFailureEvent(java.lang.Throwable throwable) |
ThrowableFailureEvent(java.lang.Throwable throwable,
boolean suppressErrorUi) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getExecutionScope() |
java.lang.Throwable |
getThrowable() |
boolean |
isSuppressErrorUi() |
void |
setExecutionScope(java.lang.Object executionContext) |
protected final java.lang.Throwable throwable
protected final boolean suppressErrorUi
public ThrowableFailureEvent(java.lang.Throwable throwable)
public ThrowableFailureEvent(java.lang.Throwable throwable, boolean suppressErrorUi)
suppressErrorUi
- true indicates to the receiver that no error UI (e.g. dialog) should now displayed.public java.lang.Throwable getThrowable()
public boolean isSuppressErrorUi()
public java.lang.Object getExecutionScope()
getExecutionScope
in interface HasExecutionScope
public void setExecutionScope(java.lang.Object executionContext)
setExecutionScope
in interface HasExecutionScope
Available under the Apache License, Version 2.0 - Copyright © 2012-2014 greenrobot.de. All Rights Reserved.