public abstract class RunnableObject
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Field and Description | 
|---|---|
protected java.lang.Exception | 
e
The thrown exception. 
 | 
protected java.lang.Object[] | 
params
The parameters. 
 | 
protected java.lang.Object | 
result
The return value. 
 | 
| Constructor and Description | 
|---|
RunnableObject()  | 
RunnableObject(java.lang.Object... params)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Exception | 
getException()
The thrown exception. 
 | 
java.lang.Object | 
getResult()
Return the result. 
 | 
boolean | 
hasException()
Return true if the runnable threw an exception. 
 | 
protected void | 
setException(java.lang.Exception e)
Set the runnable run() method exception. 
 | 
protected java.lang.Object result
protected java.lang.Object[] params
protected java.lang.Exception e
public RunnableObject()
public RunnableObject(java.lang.Object... params)
public java.lang.Exception getException()
public boolean hasException()
protected void setException(java.lang.Exception e)
e - the exceptionpublic java.lang.Object getResult()
Copyright © 2019-2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence