XPRSexception
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.dashoptimization.XPRSexception
-
- All Implemented Interfaces:
-
java.io.Serializable
- Direct Known Subclasses:
-
NotInProblemException
,XPRSprobException
public class XPRSexception extends java.lang.RuntimeException
Encapsulates exceptions thrown by Xpress-MP optimizer- See Also:
- Serialized Form
-
-
Constructor Summary
Constructor Description XPRSexception(XPRSobject source)
XPRSexception(XPRSobject source, int code, java.lang.Throwable cause)
Construct a wrapping exception.XPRSexception(XPRSobject source, java.lang.String message)
XPRSexception(XPRSobject source, java.lang.String message, int code)
XPRSexception(java.lang.String message)
XPRSexception(java.lang.String message, int code)
-
Method Summary
Modifier and Type Method Description int
getCode()
XPRSobject
getSource()
-
-
-
Constructor Detail
-
XPRSexception
public XPRSexception(java.lang.String message, int code)
-
XPRSexception
public XPRSexception(XPRSobject source, java.lang.String message, int code)
-
XPRSexception
public XPRSexception(XPRSobject source, java.lang.String message)
-
XPRSexception
public XPRSexception(XPRSobject source)
-
XPRSexception
public XPRSexception(java.lang.String message)
-
XPRSexception
public XPRSexception(XPRSobject source, int code, java.lang.Throwable cause)
Construct a wrapping exception.- Parameters:
-
source
- The object that threw the exception (can benull
). -
code
- The error code (pass -1 if no concrete error code available). -
cause
- The reason for the exception.
-
-
Method Detail
-
getCode
public int getCode()
-
getSource
public XPRSobject getSource()
-
-
© 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.