NetLogo API
version 4.0.1

Uses of Class
org.nlogo.api.LogoException

Packages that use LogoException
org.nlogo.agent   
org.nlogo.api Provides classes associated with the NetLogo Extensions API. 
org.nlogo.command   
org.nlogo.headless Provides classes associated with running NetLogo "headless", that is, from the command line, with no GUI; includes the HeadlessWorkspace class
org.nlogo.nvm   
org.nlogo.workspace   
 

Uses of LogoException in org.nlogo.agent
 

Subclasses of LogoException in org.nlogo.agent
static class SliderConstraint.RuntimeConstraintException
           
 

Methods in org.nlogo.agent that throw LogoException
 void BooleanConstraint.assertConstraint(Object val)
           
 void ChooserConstraint.assertConstraint(Object val)
           
 void InputBoxConstraint.assertConstraint(Object val)
           
 void SliderConstraint.assertConstraint(Object val)
           
 void ValueConstraint.assertConstraint(Object val)
          Throws a Violation condition if the input is not acceptable.
 void Observer.assertVariableConstraint(int vn, Object value)
           
 Object Thunk.call()
           
 Object BooleanConstraint.coerceValue(Object val)
           
 Object ChooserConstraint.coerceValue(Object val)
           
 Object InputBoxConstraint.coerceValue(Object val)
           
 Object SliderConstraint.coerceValue(Object val)
           
 Object ValueConstraint.coerceValue(Object val)
          Returns the constrained value, which can differ from the input.
 Double SliderConstraint.effectiveMaximum()
           
 Double DynamicSliderConstraint.increment()
           
abstract  Double SliderConstraint.increment()
           
static SliderConstraint SliderConstraint.makeSliderConstraint(Agent agent, String minSpec, String maxSpec, String incSpec, Double defValue, Object owner)
           
 Double DynamicSliderConstraint.maximum()
           
abstract  Double SliderConstraint.maximum()
           
 Double DynamicSliderConstraint.minimum()
           
abstract  Double SliderConstraint.minimum()
           
abstract  void Agent.setObserverVariable(int vn, Object value)
           
 void Link.setObserverVariable(int vn, Object value)
           
 void Observer.setObserverVariable(int vn, Object value)
           
 void Patch.setObserverVariable(int vn, Object value)
           
 void Turtle.setObserverVariable(int vn, Object value)
           
 void World.setObserverVariableByName(String var, Object value)
           
abstract  void Agent.setVariable(int vn, Object value)
           
 void Observer.setVariable(int vn, Object value)
           
 void BooleanConstraint.updateConstraint()
           
 void ChooserConstraint.updateConstraint()
           
 void ConstantSliderConstraint.updateConstraint()
           
 void DynamicSliderConstraint.updateConstraint()
           
 void InputBoxConstraint.updateConstraint()
           
abstract  void SliderConstraint.updateConstraint()
           
 void ValueConstraint.updateConstraint()
           
 

Uses of LogoException in org.nlogo.api
 

Methods in org.nlogo.api that throw LogoException
 Object Argument.get()
          Returns the argument as an Object without type checking.
 Agent Argument.getAgent()
          Returns the argument as an Agent.
 Boolean Argument.getBoolean()
          Returns the argument as a Boolean
 boolean Argument.getBooleanValue()
          Returns the value of the argument as a boolean
 double Argument.getDoubleValue()
          Returns the value of the argument as a double.
 int Argument.getIntValue()
          Returns the value of the argument as an int.
 LogoList Argument.getList()
          Returns the argument as a org.nlogo.api.LogoList
 Patch Argument.getPatch()
          Returns the argument as an org.nlogo.api.Patch
 String Argument.getString()
          Returns the argument as a String
 Turtle Argument.getTurtle()
          Returns the argument as a org.nlogo.api.Turtle.
 void Command.perform(Argument[] args, Context context)
          Executes this Command.
 Object Reporter.report(Argument[] args, Context context)
          Executes this Reporter.
 

Uses of LogoException in org.nlogo.command
 

Subclasses of LogoException in org.nlogo.command
 class ArgumentTypeException
           
 

Methods in org.nlogo.command that throw LogoException
 Agent Instruction.argEvalAgent(Context context, int argIndex)
           
 AgentSet Instruction.argEvalAgentSet(Context context, int argIndex)
           
 AgentSet Instruction.argEvalAgentSet(Context context, int argIndex, Class type)
           
 Boolean Instruction.argEvalBoolean(Context context, int argIndex)
           
 boolean Instruction.argEvalBooleanValue(Context context, int argIndex)
           
 Double Instruction.argEvalDouble(Context context, int argIndex)
           
 double Instruction.argEvalDoubleValue(Context context, int argIndex)
           
 int Instruction.argEvalIntValue(Context context, int argIndex)
           
 Link Instruction.argEvalLink(Context context, int argIndex)
           
 LogoList Instruction.argEvalList(Context context, int argIndex)
           
 Long Instruction.argEvalLong(Context context, int argIndex)
           
 long Instruction.argEvalLongValue(Context context, int argIndex)
           
 Patch Instruction.argEvalPatch(Context context, int argIndex)
           
 String Instruction.argEvalString(Context context, int argIndex)
           
 Turtle Instruction.argEvalTurtle(Context context, int argIndex)
           
 void Instruction.checkAgentClass(Agent agent, Context context)
           
 void Instruction.checkAgentSetClass(AgentSet agents, Context context)
           
 Double Instruction.newValidDouble(double d)
           
static Double Instruction.newValidDouble(double d, Instruction instr)
           
 void BasicBlockCommand.perform(Context context)
           
abstract  void Command.perform(Context context)
           
 Object DoubleReporter.report(Context context)
           
abstract  Object Reporter.report(Context context)
           
 Double DoubleReporter.reportDouble(Context context)
           
 double DoubleReporter.reportDoubleValue(Context context)
           
 int DoubleReporter.reportIntValue(Context context)
           
 double Instruction.validDouble(double d)
           
 

Uses of LogoException in org.nlogo.headless
 

Fields in org.nlogo.headless declared as LogoException
 LogoException HeadlessWorkspace.lastLogoException
          Internal use only.
 

Methods in org.nlogo.headless that throw LogoException
 void HeadlessWorkspace.command(String source)
          Runs NetLogo commands and waits for them to complete.
 void HeadlessWorkspace.generateModelTest(String model)
           
 void HeadlessWorkspace.initModelForChecksumming()
           
 void HeadlessWorkspace.open(String path)
          Opens a model stored in a file.
 void HeadlessWorkspace.openFromSource(String source)
          Opens a model stored in a string.
 Object HeadlessWorkspace.report(String source)
          Runs a NetLogo reporter.
 void HeadlessWorkspace.waitFor(CommandRunnable runnable)
          Internal use only.
 Object HeadlessWorkspace.waitForResult(ReporterRunnable runnable)
          Internal use only.
 

Uses of LogoException in org.nlogo.nvm
 

Subclasses of LogoException in org.nlogo.nvm
 class EngineException
           
 class HaltException
           
 

Methods in org.nlogo.nvm that throw LogoException
 void HubNetInterface.broadcast(String variableName, Object data)
           
 void HubNetInterface.broadcastGW()
           
 Object Context.callReporterProcedure(Activation newActivation)
           
 Object JobManager.callReporterProcedure(JobOwner owner, AgentSet agentset, Procedure procedure)
           
 void Workspace.clearAll()
           
 void Workspace.clearOutput()
           
 boolean HubNetInterface.enterMessage()
           
 double Context.evaluateDoubleReporter(Agent agent, DoubleReporter reporter)
           
 Object Context.evaluateReporter(Agent agent, Reporter reporter)
           
 boolean HubNetInterface.exitMessage()
           
 void HubNetInterface.fetchMessage()
           
 Object Argument.get()
           
 Agent Argument.getAgent()
           
 Boolean Argument.getBoolean()
           
 boolean Argument.getBooleanValue()
           
 double Argument.getDoubleValue()
           
 int HubNetInterface.getInQueueSize()
           
 int Argument.getIntValue()
           
 LogoList Argument.getList()
           
 Object HubNetInterface.getMessage()
           
 String HubNetInterface.getMessageSource()
           
 String HubNetInterface.getMessageTag()
           
 double HubNetInterface.getOutQueueSize()
           
 Patch Argument.getPatch()
           
 String Argument.getString()
           
 Turtle Argument.getTurtle()
           
 void Workspace.initModelForChecksumming()
           
 boolean HubNetInterface.messageWaiting()
           
 void Workspace.outputObject(Object object, Object owner, boolean addNewline, boolean readable, int destination)
           
 void HubNetInterface.reset()
           
 void CommandRunnable.run()
           
 Object ReporterRunnable.run()
           
 void Context.runExclusiveJob(AgentSet agentset, int address)
           
 void HubNetInterface.send(List nodes, String tag, Object message)
          sends message to tag on each node in nodes. nodes should be list of string node ids.
 boolean HubNetInterface.send(String node, String tag, Object message)
          sends message to a specific node, specified by String ID.
 void HubNetInterface.sendGW(List nodes)
           
 void HubNetInterface.setClientInterface(String interfaceType, LogoList interfaceInfo)
           
 void Workspace.updateChecksum()
           
 void Workspace.waitFor(CommandRunnable runnable)
           
 void Workspace.waitForQueuedEvents()
           
 Object Workspace.waitForResult(ReporterRunnable runnable)
           
 

Uses of LogoException in org.nlogo.workspace
 

Methods in org.nlogo.workspace that throw LogoException
static void Checksummer.addChecksumEntry(AbstractWorkspace workspace)
           
static void Checksummer.addChecksumEntry(AbstractWorkspace workspace, Map m, String model)
           
 void Benchmarker.benchmark(int iterations, Benchmarker.BenchmarkRunner runner)
           
 void Benchmarker.benchmarkAll(int iterations, Benchmarker.BenchmarkRunner runner)
           
 void AbstractWorkspace.clearAll()
           
 void Benchmarker.BenchmarkRunner.command(String command)
           
 void Controllable.command(String source)
           
 void DummyWorkspace.initModelForChecksumming()
           
abstract  void AbstractWorkspace.open(String path)
           
 void Controllable.open(String path)
           
 void Benchmarker.openAndRunBenchmark(String name, int iterations, Benchmarker.BenchmarkRunner runner)
           
 void AbstractWorkspace.outputObject(Object object, Object owner, boolean addNewline, boolean readable, int destination)
           
 Object Controllable.report(String source)
           
 void AbstractWorkspace.updateChecksum()
           
 


NetLogo API
version 4.0.1