Build 1.0_r1(from source)

java.util.concurrent
Class Executors.PrivilegedExceptionActionAdapter

java.lang.Object
  extended by 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


Constructor Summary
Executors.PrivilegedExceptionActionAdapter(PrivilegedExceptionAction action)
           
 
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
 

Constructor Detail

Executors.PrivilegedExceptionActionAdapter

Executors.PrivilegedExceptionActionAdapter(PrivilegedExceptionAction action)
Method Detail

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

Build 1.0_r1(from source)

Please submit a feedback, bug or feature