SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.parallel
Class MultipleExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.numericalmethod.suanshu.parallel.MultipleExecutionException
All Implemented Interfaces:
java.io.Serializable

public class MultipleExecutionException
extends java.lang.Exception

This exception is thrown when any of the parallel tasks throws an exception during execution. This exception contains all the exceptions caught during execution.

See Also:
Serialized Form

Constructor Summary
MultipleExecutionException(java.util.List<?> results, java.util.List<java.util.concurrent.ExecutionException> exceptions)
           
 
Method Summary
 java.util.List<java.util.concurrent.ExecutionException> exceptions()
           
 java.util.List<?> results()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultipleExecutionException

public MultipleExecutionException(java.util.List<?> results,
                                  java.util.List<java.util.concurrent.ExecutionException> exceptions)
Method Detail

results

public java.util.List<?> results()

exceptions

public java.util.List<java.util.concurrent.ExecutionException> exceptions()

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.