groovyx.gpars
Class AsyncException
java.lang.Object
  
java.lang.Throwable
      
java.lang.Exception
          
java.lang.RuntimeException
              
groovyx.gpars.AsyncException
- All Implemented Interfaces: 
 - java.io.Serializable
 
public final class AsyncException
- extends java.lang.RuntimeException
 
This class wraps multiple exception, which occurred in concurrently run code inside one of the GParsExecutorsPoolUtil methods.
- Author:
 
  - Vaclav Pech
         Date: Nov 17, 2008
 
- See Also:
 - Serialized Form
 
 
| 
Constructor Summary | 
AsyncException(java.lang.String message,
               java.util.List<java.lang.Throwable> concurrentExceptions)
 
            | 
 
 
| Methods inherited from class java.lang.Throwable | 
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
serialVersionUID
private static final long serialVersionUID
- See Also:
 - Constant Field Values
 
concurrentExceptions
private final java.util.List<java.lang.Throwable> concurrentExceptions
AsyncException
public AsyncException(java.lang.String message,
                      java.util.List<java.lang.Throwable> concurrentExceptions)
getConcurrentExceptions
public java.util.List<java.lang.Throwable> getConcurrentExceptions()
 
getMessage
public java.lang.String getMessage()
- Overrides:
 getMessage in class java.lang.Throwable
 
 
toString
public java.lang.String toString()
- Overrides:
 toString in class java.lang.Throwable
 
 
buildMessage
private java.lang.String buildMessage()