Skip to content

Commit 8aaedb2

Browse files
Add SectionIndexOutOfBoundException
1 parent 49e4fa0 commit 8aaedb2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package org.javawebstack.orm.test.exception;
2+
3+
import lombok.Getter;
4+
import lombok.Setter;
5+
6+
@Getter
7+
@Setter
8+
/**
9+
* Only to be used for tests.
10+
* This exception should be thrown when a SQL Query String is manually parsed and sections and section types are defined, and
11+
* a type of section is attempted to be retrieved which does not exist in this number.
12+
*/
13+
public class SectionIndexOutOfBoundException extends Exception {
14+
private int sectionCount;
15+
private int attemptedIndex;
16+
private String topLevelKeyword;
17+
}

0 commit comments

Comments
 (0)