public class ActivityLifecycleError extends Object implements org.uberfire.workbench.events.UberFireEvent
Modifier and Type | Class and Description |
---|---|
static class |
ActivityLifecycleError.LifecyclePhase
The different activity lifecycle calls that can fail.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getException()
Returns the exception thrown by the failed lifecycle method, if the failure was due to a thrown exception.
|
Activity |
getFailedActivity()
Returns the Activity instance that threw the exception.
|
ActivityLifecycleError.LifecyclePhase |
getFailedCall()
Tells which lifecycle phase failed.
|
boolean |
isErrorMessageSuppressed()
Tells whether a previous observer has requested that the standard error message in the GUI be suppressed.
|
void |
suppressErrorMessage()
Tells the framework that it should not mention this failure in the workbench GUI.
|
public Activity getFailedActivity()
public ActivityLifecycleError.LifecyclePhase getFailedCall()
public Throwable getException()
public void suppressErrorMessage()
public boolean isErrorMessageSuppressed()
suppressErrorMessage()
method on this event .Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.