Class ParticleException
Base class for exceptions thrown because a particle tried to perform an invalid operation or its algorithm code caused a problem.
Stores a reference to the particle that caused the exception.
Inheritance
object
Exception
ParticleException
Namespace: AS2.Sim
Assembly: .dll
Syntax
public class ParticleException : AmoebotSimException
Constructors
| Edit this page View SourceParticleException()
Declaration
public ParticleException()
ParticleException(Particle)
Declaration
public ParticleException(Particle particle)
Parameters
Type | Name | Description |
---|---|---|
Particle | particle |
ParticleException(Particle, string)
Declaration
public ParticleException(Particle particle, string msg)
Parameters
Type | Name | Description |
---|---|---|
Particle | particle | |
string | msg |
ParticleException(string)
Declaration
public ParticleException(string msg)
Parameters
Type | Name | Description |
---|---|---|
string | msg |
Fields
| Edit this page View Sourceparticle
The particle that caused this exception.
Note that multiple particles may be involved and this is only the first particle in the processing of which the error was detected.
Declaration
public Particle particle
Field Value
Type | Description |
---|---|
Particle |