XPRMLicenseError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- com.dashoptimization.XPRMLicenseError
-
- All Implemented Interfaces:
- java.io.Serializable
public class XPRMLicenseError extends java.lang.Error
A license error. This error is thrown when one of the component of Mosel is used without the necessary license. Further details can be found in the Xpress Licensing documentation.- See Also:
- Serialized Form
-
-
Method Summary
Modifier and Type Method and Description int
getErrorCode()
Get the error code.java.lang.String
getMessage()
Get the error message.
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
Get the error message. This message is returned by the Xpress License Manager (XPRL).- Overrides:
-
getMessage
in classjava.lang.Throwable
- Returns:
- Descriptive text of the error
-
getErrorCode
public int getErrorCode()
Get the error code. This code is returned by the Xpress License Manager (XPRL).- Returns:
- Error code
-
-