Search Results for

    Show / Hide Table of Contents

    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
    AmoebotSimException
    ParticleException
    AlgorithmException
    InvalidActionException
    Namespace: AS2.Sim
    Assembly: .dll
    Syntax
    public class ParticleException : AmoebotSimException

    Constructors

    | Edit this page View Source

    ParticleException()

    Declaration
    public ParticleException()
    | Edit this page View Source

    ParticleException(Particle)

    Declaration
    public ParticleException(Particle particle)
    Parameters
    Type Name Description
    Particle particle
    | Edit this page View Source

    ParticleException(Particle, string)

    Declaration
    public ParticleException(Particle particle, string msg)
    Parameters
    Type Name Description
    Particle particle
    string msg
    | Edit this page View Source

    ParticleException(string)

    Declaration
    public ParticleException(string msg)
    Parameters
    Type Name Description
    string msg

    Fields

    | Edit this page View Source

    particle

    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
    • Edit this page
    • View Source
    In this article
    Back to top AmoebotSim 2.0 Documentation v1.11
    Copyright © 2025 AmoebotSim 2.0 Authors
    Generated by DocFX