-package org.simantics.scl.compiler.errors;\r
-\r
-\r
-@SuppressWarnings("rawtypes")\r
-public enum DoesNotExist implements Failable {\r
- INSTANCE;\r
-\r
- @SuppressWarnings("unchecked")\r
- public static <T> Failable<T> getInstance() {\r
- return INSTANCE;\r
- }\r
-\r
- @Override\r
- public Object getResult() {\r
- throw new IllegalStateException("Module does not exist.");\r
- }\r
-\r
- @Override\r
- public boolean didSucceed() {\r
- return false;\r
- }\r
- \r
- @Override\r
- public String toString() {\r
- return "DoesNotExist";\r
- }\r
-\r
- @Override\r
- public String getDescription() {\r
- return "Module does not exist.";\r
- }\r
-}\r
+package org.simantics.scl.compiler.errors;
+
+
+@SuppressWarnings("rawtypes")
+public enum DoesNotExist implements Failable {
+ INSTANCE;
+
+ @SuppressWarnings("unchecked")
+ public static <T> Failable<T> getInstance() {
+ return INSTANCE;
+ }
+
+ @Override
+ public Object getResult() {
+ throw new IllegalStateException("Module does not exist.");
+ }
+
+ @Override
+ public boolean didSucceed() {
+ return false;
+ }
+
+ @Override
+ public String toString() {
+ return "DoesNotExist";
+ }
+
+ @Override
+ public String getDescription() {
+ return "Module does not exist.";
+ }
+}