org.duelengine.duel.codegen
Class ScriptTranslationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.duelengine.duel.parsing.SyntaxException
org.duelengine.duel.codegen.ScriptTranslationException
- All Implemented Interfaces:
- Serializable
public class ScriptTranslationException
- extends SyntaxException
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ScriptTranslationException
public ScriptTranslationException(String message,
org.mozilla.javascript.ast.AstNode node)
ScriptTranslationException
public ScriptTranslationException(String message,
org.mozilla.javascript.ast.AstNode node,
Throwable cause)
ScriptTranslationException
public ScriptTranslationException(String message,
org.mozilla.javascript.EvaluatorException error)
getNode
public org.mozilla.javascript.ast.AstNode getNode()
adjustErrorStatistics
public SyntaxException adjustErrorStatistics(CodeBlockNode node)
- Attempts to adjust the position statistics to match the original source
- Parameters:
ex -
- Returns:
Copyright © 2011. All Rights Reserved.