Skip to content

Commit

Permalink
feat(objectionary#750): if we don't know the exception type, just use…
Browse files Browse the repository at this point in the history
… Throwable
  • Loading branch information
volodya-lombrozo committed Nov 8, 2024
1 parent 67bfc4d commit 590ae76
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,13 @@ Label handlerLabel() {
* @return Type.
*/
String descriptor() {
return this.type;
final String result;
if (this.type == null) {
result = "java/lang/Throwable";
} else {
result = this.type;
}
return result;
}

}

0 comments on commit 590ae76

Please sign in to comment.