/* | |
* $Id: LuaMessageHandlerException.java 43 2012-01-05 00:24:31Z andre@naef.com $ | |
* See LICENSE.txt for license terms. | |
*/ | |
package com.naef.jnlua; | |
/** | |
* Indicates a Lua message handler error. | |
* | |
* <p> | |
* This exception is thrown if an error occurs running the message handler of a | |
* protected call. | |
* </p> | |
* | |
* @since JNLua 1.0.0 | |
*/ | |
public class LuaMessageHandlerException extends LuaException { | |
// -- Static | |
private static final long serialVersionUID = 1L; | |
// -- Construction | |
/** | |
* Creates a new instance. | |
* | |
* @param msg | |
* the message | |
*/ | |
public LuaMessageHandlerException(String msg) { | |
super(msg); | |
} | |
/** | |
* Creates a new instance. | |
* | |
* @param msg | |
* the message | |
* @param cause | |
* the cause of this exception | |
*/ | |
public LuaMessageHandlerException(String msg, Throwable cause) { | |
super(msg, cause); | |
} | |
} |