1
2
3
4 package ca.uhn.cache.util.exception;
5
6 /***
7 * Contains an exception that was encountered while filling an IMutableIterator (e.g. while pulling
8 * iterated data from a database, etc.) It is thrown when hasNext() or next() is next called. It
9 * is treated as a RuntimeException for compatibility with Iterator.
10 *
11 * @author <a href="mailto:bryan.tripp@uhn.on.ca">Bryan Tripp</a>
12 * @version $Revision: 1.1 $ updated on $Date: 2005/01/26 00:25:52 $ by $Author: bryan_tripp $
13 */
14 public class MutableIteratorException extends RuntimeException {
15
16 /***
17 * @param theMessage text descibing the situation
18 * @param theCause an underlying problem accessing or copying data for the iterator
19 */
20 public MutableIteratorException(String theMessage, Throwable theCause) {
21 super(theMessage, theCause);
22 }
23
24 /***
25 * @param theCause an underlying problem accessing or copying data for the iterator
26 */
27 public MutableIteratorException(Throwable theCause) {
28 super(theCause);
29 }
30
31 }