NetLogo API
version 2.1.0

org.nlogo.api
Class ExtensionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.nlogo.api.ExtensionException
All Implemented Interfaces:
Serializable

public class ExtensionException
extends Exception

Wrapper class for exceptions thrown by NetLogo extensions.

See Also:
Serialized Form

Constructor Summary
ExtensionException(Exception ex)
          Creates a new ExtensionException
ExtensionException(String message)
          Creates a new ExtensionException
 
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
 

Constructor Detail

ExtensionException

public ExtensionException(String message)
Creates a new ExtensionException

Parameters:
message - error message displayed to NetLogo user

ExtensionException

public ExtensionException(Exception ex)
Creates a new ExtensionException

Parameters:
ex - extension to be wrapped

NetLogo API
version 2.1.0