ca.nengo.model
Class SimulationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ca.nengo.NengoException
              extended by ca.nengo.model.SimulationException
All Implemented Interfaces:
java.io.Serializable

public class SimulationException
extends NengoException

A problem encountered while trying to run a simulation.

Author:
Bryan Tripp
See Also:
Serialized Form

Constructor Summary
SimulationException(java.lang.String message)
           
SimulationException(java.lang.String message, java.lang.Throwable cause)
           
SimulationException(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.String getMessage()
          Adds ensemble name to message.
 void setEnsemble(java.lang.String name)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimulationException

public SimulationException(java.lang.String message)
Parameters:
message - Text explanation of the exception.

SimulationException

public SimulationException(java.lang.Throwable cause)
Parameters:
cause - Another throwable that indicates a problem underlying this exception.

SimulationException

public SimulationException(java.lang.String message,
                           java.lang.Throwable cause)
Parameters:
message - Text explanation of the exception.
cause - Another throwable that indicates a problem underlying this exception.
Method Detail

getMessage

public java.lang.String getMessage()
Adds ensemble name to message.

Overrides:
getMessage in class java.lang.Throwable

setEnsemble

public void setEnsemble(java.lang.String name)
Parameters:
name - Name of the ensemble in which the exception occured