Skip to content
Snippets Groups Projects
Verified Commit 642cdc6f authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Throw parsing exception for non-date-time values in POV

parent 820f7a95
No related branches found
No related tags found
No related merge requests found
......@@ -167,6 +167,9 @@ public class POV implements EntityFilterInterface {
} catch (final ClassCastException e) {
this.vDatetime = null;
} catch (final IllegalArgumentException e) {
if (this.operator.contains("(")) {
throw new Query.ParsingException("the value is expected to be a date time");
}
this.vDatetime = null;
}
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment