XPRSprob.InvalidStateException Class
Exception that is raised if the problem is not in the correct state. A number of operations cannot be performed using Variable,
Inequality etc. instances if the problem is in a presolved state or if they are invoked from a callback. This Exception (or a subclass of it) is used to signal this kind of error.
Inheritance Hierarchy
System.Object
System.Exception
System.SystemException
System.NotSupportedException
Optimizer.XPRSprob.InvalidStateException
Optimizer.XPRSprob.CannotPerformOperationException
Optimizer.XPRSprob.CannotReferenceVariablesException
System.Exception
System.SystemException
System.NotSupportedException
Optimizer.XPRSprob.InvalidStateException
Optimizer.XPRSprob.CannotPerformOperationException
Optimizer.XPRSprob.CannotReferenceVariablesException
Namespace: Optimizer
Assembly: xprsdn (in xprsdn.dll) Version: 45.01.01+08e34f16483948c1342f17c81d958e08c9f72d93
Syntax
C#
public class InvalidStateException : NotSupportedException
The XPRSprob.InvalidStateException type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| XPRSprob.InvalidStateException |
Create a new exception.
|
Properties
| Name | Description | |
|---|---|---|
| Data |
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from Exception.) |
|
| HelpLink |
Gets or sets a link to the help file associated with this exception.
(Inherited from Exception.) |
|
| HResult |
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(Inherited from Exception.) |
|
| InnerException |
Gets the
Exception instance that caused the current exception.
(Inherited from Exception.) |
|
| Message |
Gets a message that describes the current exception.
(Inherited from Exception.) |
|
| Source |
Gets or sets the name of the application or the object that causes the error.
(Inherited from Exception.) |
|
| StackTrace |
Gets a string representation of the frames on the call stack at the time the current exception was thrown.
(Inherited from Exception.) |
|
| TargetSite |
Gets the method that throws the current exception.
(Inherited from Exception.) |
Methods
| Name | Description | |
|---|---|---|
| Equals |
Determines whether the specified
Object is equal to the current
Object.
(Inherited from Object.) |
|
| Finalize |
Allows an
Object to attempt to free resources and perform other cleanup operations before the
Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
| GetBaseException |
When overridden in a derived class, returns the
Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception.) |
|
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
| GetObjectData |
When overridden in a derived class, sets the
SerializationInfo with information about the exception.
(Inherited from Exception.) |
|
| GetType |
Gets the runtime type of the current instance.
(Inherited from Exception.) |
|
| MemberwiseClone |
Creates a shallow copy of the current
Object.
(Inherited from Object.) |
|
| ToString |
Creates and returns a string representation of the current exception.
(Inherited from Exception.) |
See Also
Reference
© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation ("FICO"). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.
