Exception indicating that a Population is in an invalid state.
More...
|
| BadPopulationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) |
| Constructs an exception with a reference to the invalid Population. More...
|
|
Exception indicating that a Population is in an invalid state.
Constructs an exception with no specific information.
- Exception Safety
- Does not throw exceptions
Constructs an exception with a reference to the invalid Population.
- Parameters
-
[in] | which | The population that triggered the exception |
- Postcondition
- getPop() =
which
- Exception Safety
- Does not throw exceptions
Constructs an exception with a reference to the invalid Population.
- Parameters
-
[in] | which | The population that triggered the exception |
[in] | message | A description of the detected problem |
- Postcondition
- getPop() =
which
-
base.Message
= message
- Exception Safety
- Does not throw exceptions
- See Also
- InvalidOperationException(string)
Constructs an exception with a reference to the invalid Population.
- Parameters
-
[in] | which | The population that triggered the exception |
[in] | message | A description of the detected problem |
[in] | inner | The exception thrown when the problem was detected |
- Postcondition
- getPop() =
which
-
base.Message
= message
-
base.InnerException
= inner
- Exception Safety
- Does not throw exceptions
- See Also
- InvalidOperationException(string, Exception)
BadPopulationException |
( |
System.Runtime.Serialization.SerializationInfo |
info, |
|
|
System.Runtime.Serialization.StreamingContext |
context |
|
) |
| |
|
protected |
Provides the invalid Population that triggered the exception.
- Returns
- A reference to the faulty object, or
null
if no object was stored.
- Exception Safety
- Does not throw exceptions
The documentation for this class was generated from the following file: