OptimizationException Class
Last update: 19.06.2026Namespace: Phoenix.Optimization
Overview
Represents an exception that happened in the solver.
Inheritance

Declaration
class OptimizationException
Description
Represents an exception that happened in the solver.
Public Member Functions
| Type | Name | Description |
|---|---|---|
OptimizationException () |
Initializes a new instance of the OptimizationException class. | |
OptimizationException (string msg) |
Initializes a new instance of the OptimizationException class with a specified error message. | |
OptimizationException (string msg, Exception inner) |
Initializes a new instance of the OptimizationException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
Constructor & Destructor Documentation
OptimizationException()
OptimizationException ( )
Initializes a new instance of the OptimizationException class.
OptimizationException()
OptimizationException ( string msg)
Initializes a new instance of the OptimizationException class with a specified error message.
Parameters:
msg- Message for the exception
OptimizationException()
OptimizationException ( string msg, Exception inner )
Initializes a new instance of the OptimizationException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Parameters:
msg- The error message that explains the reason for the exception.inner- The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
OptimizationException()
OptimizationException ( `SerializationInfo` info, `StreamingContext` context )
Initializes a new instance of the OptimizationException class with serialized data.
Parameters:
info- TheSerializationInfothat holds the serialized object data about the exception being thrown.context- TheStreamingContextthat contains contextual information about the source or destination.
Property Documentation
OptimizationException()
OptimizationException ( )
Initializes a new instance of the OptimizationException class.
OptimizationException()
OptimizationException ( string msg)
Initializes a new instance of the OptimizationException class with a specified error message.
OptimizationException()
OptimizationException ( string msg, Exception inner )
Initializes a new instance of the OptimizationException class with a specified error message and a reference to the inner exception that is the cause of this exception.
OptimizationException()
OptimizationException ( `SerializationInfo` info, `StreamingContext` context )
Initializes a new instance of the OptimizationException class with serialized data.