Skip to content

Commit b7ad059

Browse files
committed
IRProcessor does not throw IllegalStateException
1 parent d376734 commit b7ad059

File tree

1 file changed

+1
-1
lines changed
  • engine/runtime-parser-processor/src/main/java/org/enso/runtime/parser/processor

1 file changed

+1
-1
lines changed

engine/runtime-parser-processor/src/main/java/org/enso/runtime/parser/processor/IRProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ private List<TypeElement> orderByReferences(Set<TypeElement> classesToProcess) {
135135
var paramType = param.asType();
136136
var paramTypeElem = processingEnv.getTypeUtils().asElement(paramType);
137137
if (paramTypeElem == null) {
138-
throw new IllegalStateException("Cannot find element for type " + paramType);
138+
throw new IRProcessingException("Cannot find element for type " + paramType, null);
139139
}
140140
return paramTypeElem.getSimpleName().toString();
141141
})

0 commit comments

Comments
 (0)