Skip to content
Snippets Groups Projects
Commit aa110d40 authored by Nathan PERIER's avatar Nathan PERIER
Browse files

Added exception for when the position is not directly available

parent 0f2f9e2b
No related branches found
No related tags found
No related merge requests found
......@@ -19,4 +19,8 @@ public class ParsingException extends RuntimeException {
this(message, p.getPosition());
}
public ParsingException(String message, Exception err, SymbolPosition pos) {
super(message + " "+ pos, err);
}
}
package fr.insarennes.nperier.minichamo.errors;
public class PartialException extends RuntimeException {
public PartialException(String message) {
super(message);
}
}
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