Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
ExceptionThread(Runnable target,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getException()
Fetches the exception, if any, generated during this thread's execution.
|
Object |
getResult()
Fetches the result, if any, generated during this thread's execution.
|
void |
setException(Throwable ex)
Stores the exception, if any, generated during this thread's execution.
|
void |
setResult(Object obj)
Stores the result, if any, generated during this thread's execution.
|
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, yieldpublic Object getResult()
public void setResult(Object obj)
public Throwable getException()
public void setException(Throwable ex)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.