Initializing help system before first use

# NotInProblemException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - com.dashoptimization.XPRSexception
        - - com.dashoptimization.objects.NotInProblemException

- All Implemented Interfaces:
    `java.io.Serializable`

      public final class NotInProblemException
      extends XPRSexception

  Exception is raised in case a deleted variable, row, etc is accessed or such an object is queried from a problem to which it does not belong.
  Since:
    43.00
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructor | Description
    --- | ---
    `NotInProblemException​(java.lang.String message)` | Create a new exception.
    `NotInProblemException​(java.lang.String message, int index)` | Create a new exception.

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getIndex()` |
    `void` | `setIndex​(int newIndex)` |

    - ### Methods inherited from class com.dashoptimization.XPRSexception

      `fromRetCode, getCode, getSource`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### NotInProblemException

          public NotInProblemException​(java.lang.String message)

      Create a new exception. The index in the new exception will be `Integer.MIN_VALUE`.
      Parameters:
        `message` - Error message.
      Since:
        43.00

    - #### NotInProblemException

          public NotInProblemException​(java.lang.String message,
                                       int index)

      Create a new exception.
      Parameters:
        `message` - Error message.
        `index` - Offending index.
      Since:
        43.00

  - ### Method Detail

    - #### getIndex

          public int getIndex()

    - #### setIndex

          public void setIndex​(int newIndex)

Parent Topic Exception Summary

© 2001-2026 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.