NetLogo API
version 2.1.0

org.nlogo.nvm
Class LogoException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.nlogo.nvm.LogoException
All Implemented Interfaces:
Serializable

public class LogoException
extends Exception

A runtime error that has occurred in NetLogo code.

Use the getMessage() method to get the error message.

See Also:
Serialized Form

Field Summary
 org.nlogo.nvm.Context context
          internal use only
 org.nlogo.command.Instruction instruction
          internal use only
 
Constructor Summary
LogoException(org.nlogo.command.Instruction instruction, String message)
          internal use only
LogoException(String message)
          internal use only
 
Method Summary
 void rethrow(org.nlogo.nvm.Context context, org.nlogo.command.Instruction instruction)
          internal use only
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

context

public org.nlogo.nvm.Context context
internal use only


instruction

public org.nlogo.command.Instruction instruction
internal use only

Constructor Detail

LogoException

public LogoException(String message)
internal use only


LogoException

public LogoException(org.nlogo.command.Instruction instruction,
                     String message)
internal use only

Method Detail

rethrow

public void rethrow(org.nlogo.nvm.Context context,
                    org.nlogo.command.Instruction instruction)
             throws LogoException
internal use only

Throws:
LogoException

NetLogo API
version 2.1.0