1 package org.simantics.scl.compiler.errors;
4 @SuppressWarnings("rawtypes")
5 public enum DoesNotExist implements Failable {
8 @SuppressWarnings("unchecked")
9 public static <T> Failable<T> getInstance() {
14 public Object getResult() {
15 throw new IllegalStateException("Module does not exist.");
19 public boolean didSucceed() {
24 public String toString() {
25 return "DoesNotExist";
29 public String getDescription() {
30 return "Module does not exist.";