exception handling
diff --git a/src/main/java/de/ids_mannheim/korap/query/serialize/JsonGenerator.java b/src/main/java/de/ids_mannheim/korap/query/serialize/JsonGenerator.java
index 86f86f5..a3921e3 100644
--- a/src/main/java/de/ids_mannheim/korap/query/serialize/JsonGenerator.java
+++ b/src/main/java/de/ids_mannheim/korap/query/serialize/JsonGenerator.java
@@ -114,7 +114,8 @@
}
public String run(String query, String ql, List<String> parents,
- String cli, String cri, int cls, int crs, int page, int num) {
+ String cli, String cri, int cls, int crs, int page, int num)
+ throws IllegalArgumentException{
if (ql.toLowerCase().equals("poliqarp")) {
ast = new PoliqarpPlusTree(query);
// } else if (queryLanguage.equals("cosmas")) {