--- /dev/null
+package org.simantics.graph.compiler.internal.ltk;
+
+public class Problem {
+ Location location;
+ String description;
+ Severity severity;
+
+ public Problem(Location location, String description,
+ Severity severity) {
+ this.location = location;
+ this.description = description;
+ this.severity = severity;
+ }
+
+ public Problem(Location location, String description) {
+ this(location, description, Severity.ERROR);
+ }
+
+ public Location getLocation() {
+ return location;
+ }
+
+ public void setLocation(Location location) {
+ this.location = location;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+}
\ No newline at end of file