|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.luaj.vm.LuaErrorException
public class LuaErrorException
RuntimeException that is thrown and caught in response to a lua error. This error does not indicate any problem with the normal functioning of the Lua VM, but rather indicates that the lua script being interpreted has encountered a lua error, eigher via LuaState.error() or lua error() calls.
| Constructor Summary | |
|---|---|
LuaErrorException()
Construct a LuaErrorException with the default message. |
|
LuaErrorException(LuaState vm,
java.lang.String message,
int level)
Construct the message around a specific vm and with a particular level of debug info |
|
LuaErrorException(java.lang.String message)
Construct a LuaErrorException with a specific message. |
|
LuaErrorException(java.lang.Throwable cause)
Construct a LuaErrorException in response to a Throwable that was caught and with the default message. |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getCause()
Get the cause, if any. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LuaErrorException()
public LuaErrorException(java.lang.Throwable cause)
public LuaErrorException(java.lang.String message)
message - message to supply
public LuaErrorException(LuaState vm,
java.lang.String message,
int level)
vm - message - level - 0 for no message, >=1 for current call or above, -1 for most recent lua call| Method Detail |
|---|
public java.lang.Throwable getCause()
getCause in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||