protected static class Daemon.DaemonThread
extends java.lang.Thread
Daemon.startModule(Module) and
 Daemon.executeScheduledTask(Task) methods so that the returned object and the
 exception thrown can be returned to calling class| Modifier and Type | Field and Description | 
|---|---|
protected java.lang.Throwable | 
exceptionThrown
The exception thrown (if any) by the method called in  
Thread.run() | 
protected java.lang.Object | 
returnedObject
The object returned from the method called in  
Thread.run() | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
DaemonThread()  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Throwable | 
getExceptionThrown()
Gets the exception thrown (if any) by the method called in  
Thread.run() | 
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldCopyright © 2018 OpenMRS Inc.. All Rights Reserved.