net.spy.concurrent
Class CompositeExecutorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.util.concurrent.ExecutionException
              extended by net.spy.concurrent.CompositeExecutorException
All Implemented Interfaces:
Serializable

public class CompositeExecutorException
extends ExecutionException

Execution exception thrown from a RetryableCallable get() when a failure has occurred. This contains at most, the ten most recent exceptions.

See Also:
Serialized Form

Constructor Summary
CompositeExecutorException(Collection<? extends ExecutionException> e)
           
CompositeExecutorException(ExecutionException e)
           
 
Method Summary
 Collection<ExecutionException> getExceptions()
          Get the execution exceptions that led up to this CompositeExecutorException.
 void printStackTrace(PrintStream p)
           
 void printStackTrace(PrintWriter p)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompositeExecutorException

public CompositeExecutorException(ExecutionException e)

CompositeExecutorException

public CompositeExecutorException(Collection<? extends ExecutionException> e)
Method Detail

getExceptions

public Collection<ExecutionException> getExceptions()
Get the execution exceptions that led up to this CompositeExecutorException.


printStackTrace

public void printStackTrace(PrintStream p)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter p)
Overrides:
printStackTrace in class Throwable


Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.