blob: da5731827de798541a5569678ad8eb0a42a2f29a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
package bjc.utils.ioutils.format;
/**
* An exception thrown to escape CL iteration directives.
*
* @author EVE
*
*/
public class DirectiveEscape extends RuntimeException {
private static final long serialVersionUID = -4552821131068559005L;
/**
* Whether or not this exception should end iteration.
*/
public final boolean endIteration;
/**
* Create a new directive escape.
*/
public DirectiveEscape() {
endIteration = false;
}
/**
* Create a new directive escape.
*
* @param end
* Whether or not to end the iteration.
*/
public DirectiveEscape(boolean end) {
endIteration = end;
}
}
|