org.nlogo.api
Class CompilerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.nlogo.api.CompilerException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- SliderConstraint.ConstraintCompilerException
public class CompilerException
- extends Exception
Exception thrown by various methods that accept NetLogo code as input
and cause that code to be compiled; indicates the code was invalid.
May be inspected to discover the location and nature of the error.
- See Also:
- Serialized Form
RUNTIME_ERROR_AT_COMPILE_TIME_MSG_PREFIX
public static final String RUNTIME_ERROR_AT_COMPILE_TIME_MSG_PREFIX
- See Also:
- Constant Field Values
CompilerException
public CompilerException(String message,
int startPos,
int endPos,
String fileName)
CompilerException
public CompilerException(org.nlogo.api.Token token)
startPos
public int startPos()
endPos
public int endPos()
fileName
public String fileName()
toString
public String toString()
- Overrides:
toString
in class Throwable