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:
java.io.Serializable

public class CompositeExecutorException
extends java.util.concurrent.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(java.util.Collection<? extends java.util.concurrent.ExecutionException> e)
           
CompositeExecutorException(java.util.concurrent.ExecutionException e)
           
 
Method Summary
 java.util.Collection<java.util.concurrent.ExecutionException> getExceptions()
          Get the execution exceptions that led up to this CompositeExecutorException.
 void printStackTrace(java.io.PrintStream p)
           
 void printStackTrace(java.io.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(java.util.concurrent.ExecutionException e)

CompositeExecutorException

public CompositeExecutorException(java.util.Collection<? extends java.util.concurrent.ExecutionException> e)
Method Detail

getExceptions

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


printStackTrace

public void printStackTrace(java.io.PrintStream p)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter p)
Overrides:
printStackTrace in class java.lang.Throwable


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