Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
And this is why we have CI. I had forgotten to commit one class...
  • Loading branch information
bensku committed Jul 1, 2024
1 parent db3ab6f commit f63b68f
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package fi.benjami.code4jvm.lua.stdlib;

public class LuaException extends RuntimeException {

private static final long serialVersionUID = 1L;

private final Object message;

public LuaException(Object message) {
super(message.toString());
this.message = message;
}

public LuaException(Object message, Throwable cause) {
super(message.toString(), cause);
this.message = message;
}

public Object getLuaMessage() {
return message;
}
}

0 comments on commit f63b68f

Please sign in to comment.