org.nlogo.api
Class ExtensionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.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
 
Method Summary
 
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