Initializing help system before first use

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.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 class  java.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