> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# BoundsNotSupportedException Class

**Namespace:** `Phoenix.Optimization`

## Overview

This can be thrown from the algorithm when the algorithm is passed a problem definition that has an open bound upper or lower bound on the constraints or design variables and the algorithm does not support open bounds.

## Inheritance

![BoundsNotSupportedException](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/modelcenter/modelcenter-custom-optimization-algorithm-sdk/api/graphics/class_phoenix_1_1_optimization_1_1_bounds_not_supported_exception.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=f672298fff58e05c43f3678575abd4b8)

## Declaration

```csharp theme={null}
class BoundsNotSupportedException
```

## Description

This can be thrown from the algorithm when the algorithm is passed a problem definition that has an open bound upper or lower bound on the constraints or design variables and the algorithm does not support open bounds.

## Public Member Functions

| Type | Name | Description |
| - | - | - |
| | `BoundsNotSupportedException ()` | Initializes a new instance of the `BoundsNotSupportedException` class. |
| | `BoundsNotSupportedException (string algorithm, string variables)` | Initializes a new instance of the `BoundsNotSupportedException` class specifing the algorithm throwing the error and the variables that require bounds. |
| | `BoundsNotSupportedException (string msg)` | Initializes a new instance of the `BoundsNotSupportedException` class with a specified error message. |
| | `BoundsNotSupportedException (string msg, Exception inner)` | Initializes a new instance of the `BoundsNotSupportedException` class with a specified error message and a reference to the inner exception that is the cause of this exception. |

### Public Member Functions inherited from [OptimizationException]()

| 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. |

## Protected Member Functions

| Type | Name | Description |
| - | - | - |
| | `BoundsNotSupportedException (SerializationInfo info, StreamingContext context)` | Initializes a new instance of the `BoundsNotSupportedException` class with serialized data. |

### Protected Member Functions inherited from OptimizationException

| Type | Name | Description |
| - | - | - |
| | `OptimizationException (SerializationInfo info, StreamingContext context)` | Initializes a new instance of the `OptimizationException` class with serialized data |

## Constructor & Destructor Documentation

### BoundsNotSupportedException()

```csharp theme={null}
BoundsNotSupportedException ( )
```

Initializes a new instance of the `BoundsNotSupportedException` class.

### BoundsNotSupportedException()

```csharp theme={null}
BoundsNotSupportedException ( string msg)
```

Initializes a new instance of the `BoundsNotSupportedException` class with a specified error message.

**Parameters:**

* `msg` - Message for the exception

### BoundsNotSupportedException()

```csharp theme={null}
BoundsNotSupportedException ( string algorithm, string variables )
```

Initializes a new instance of the `BoundsNotSupportedException` class specifing the algorithm throwing the error and the variables that require bounds.

**Parameters:**

* `algorithm` - Name of algorithm throwing exception.
* `variables` - Names of variables that require bounds.

### BoundsNotSupportedException()

```csharp theme={null}
BoundsNotSupportedException ( string msg, Exception inner )
```

Initializes a new instance of the `BoundsNotSupportedException` 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.

### BoundsNotSupportedException()

```csharp theme={null}
BoundsNotSupportedException ( `SerializationInfo` info, `StreamingContext` context )
```

Initializes a new instance of the `BoundsNotSupportedException` class with serialized data.

**Parameters:**

* `info` - The `SerializationInfo` that holds the serialized object data about the exception being thrown.
* `context` - The `StreamingContext` that contains contextual information about the source or destination.

## Property Documentation

### BoundsNotSupportedException()

```csharp theme={null}
BoundsNotSupportedException ( )
```

Initializes a new instance of the `BoundsNotSupportedException` class.

### BoundsNotSupportedException()

```csharp theme={null}
BoundsNotSupportedException ( string msg)
```

Initializes a new instance of the `BoundsNotSupportedException` class with a specified error message.

### BoundsNotSupportedException()

```csharp theme={null}
BoundsNotSupportedException ( string algorithm, string variables )
```

Initializes a new instance of the `BoundsNotSupportedException` class specifing the algorithm throwing the error and the variables that require bounds.

### BoundsNotSupportedException()

```csharp theme={null}
BoundsNotSupportedException ( string msg, Exception inner )
```

Initializes a new instance of the `BoundsNotSupportedException` class with a specified error message and a reference to the inner exception that is the cause of this exception.

### BoundsNotSupportedException()

```csharp theme={null}
BoundsNotSupportedException ( `SerializationInfo` info, `StreamingContext` context )
```

Initializes a new instance of the `BoundsNotSupportedException` class with serialized data.
