org.objectweb.proactive.core.body.future
Class FutureResult

java.lang.Object
  extended byorg.objectweb.proactive.core.body.future.FutureResult
All Implemented Interfaces:
java.io.Serializable

public class FutureResult
extends java.lang.Object
implements java.io.Serializable

This class is a placeholder for the result of a method call, it can be an Object or a thrown Exception.

See Also:
Serialized Form

Constructor Summary
FutureResult(java.lang.Object result, java.lang.Throwable exception, NonFunctionalException nfe)
           
 
Method Summary
 java.lang.Throwable getExceptionToRaise()
           
 NonFunctionalException getNFE()
           
 java.lang.Object getResult()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FutureResult

public FutureResult(java.lang.Object result,
                    java.lang.Throwable exception,
                    NonFunctionalException nfe)
Method Detail

getExceptionToRaise

public java.lang.Throwable getExceptionToRaise()

getNFE

public NonFunctionalException getNFE()

getResult

public java.lang.Object getResult()

toString

public java.lang.String toString()


Copyright ? April 2005 INRIA All Rights Reserved.