java.util.concurrent
Class Executors.PrivilegedExceptionActionAdapter
java.lang.Object
java.util.concurrent.Executors.PrivilegedExceptionActionAdapter
- All Implemented Interfaces:
- Callable<Object>
- Enclosing class:
- Executors
static final class Executors.PrivilegedExceptionActionAdapter
- extends Object
- implements Callable<Object>
A callable that runs given privileged exception action and returns its result
|
Method Summary |
Object |
call()
Computes a result, or throws an exception if unable to do so. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Executors.PrivilegedExceptionActionAdapter
Executors.PrivilegedExceptionActionAdapter(PrivilegedExceptionAction action)
call
public Object call()
throws Exception
- Description copied from interface:
Callable
- Computes a result, or throws an exception if unable to do so.
- Specified by:
call in interface Callable<Object>
- Returns:
- computed result
- Throws:
Exception - if unable to compute a result
Please submit a feedback, bug or feature