ca.nengo.model
Class SimulationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ca.nengo.NengoException
ca.nengo.model.SimulationException
- All Implemented Interfaces:
- java.io.Serializable
public class SimulationException
- extends NengoException
A problem encountered while trying to run a simulation.
- See Also:
- Serialized Form
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 |
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.
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