|
NetLogo API version 2.0.2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.nlogo.compiler.CompilerException
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.
Method Summary | |
String |
getDescription()
Returns the error message produced by the compiler |
int |
getEndPosition()
Returns the index of the end of the portion of the code in which the error was found. |
int |
getStartPosition()
Returns the index of the start of the portion of the code in which the error was found. |
String |
toString()
Synonymous with getDescription() . |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public String getDescription()
public int getStartPosition()
public int getEndPosition()
public String toString()
getDescription()
.
|
NetLogo API version 2.0.2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |