View Javadoc

1   package org.lsst.ccs.utilities.exc;
2   
3   /**
4    * this is to build compound exception: that is exceptions that
5    * may be thrown in a bundle.
6    * The list of exception is in reverse order.
7    * <B>All classes implementing this interface MUST extends Throwable or one
8    * of it subClasses</B>
9    * (since there are no programming device to enforce this in Java this is not enforced automatically)
10   * @author bamade
11   */
12  // Date: 06/06/12
13  
14  public interface ThrowableList {
15      Throwable previous() ;
16      Throwable current() ;
17  }