Initializing help system before first use

XPRDCompileException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • com.dashoptimization.XPRDCompileException
  • All Implemented Interfaces:
    java.io.Serializable


    public class XPRDCompileException
    extends java.lang.Exception
    A compilation failure. This exception is thrown when the compilation of a model does not succeed.
    See Also:
    Serialized Form
    • Field Summary

      Modifier and Type Field and Description
      static int COMPILATION_FAILED
      Error occurred during the compilation.
      static int PARSING_FAILED
      Error detected during parsing.
      static int WRITING_BIM_FAILED
      Error occurred during writing to the BIM file.
    • Method Summary

      Modifier and Type Method and Description
      int getErrorCode()
      Get the compilation error code.
      java.lang.String getMessage()
      Get the exception 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
    • Field Detail

      • PARSING_FAILED

        public static final int PARSING_FAILED
        Error detected during parsing. This code is returned when the compiler could not complete the analysis of the source file (e.g. file not found, synctax error...)
        See Also:
        getErrorCode(), Constant Field Values
      • COMPILATION_FAILED

        public static final int COMPILATION_FAILED
        Error occurred during the compilation. The program does not contain any syntactic mistake but the compilation was not possible. For instance, the program requires a function that is declared but not defined.
        See Also:
        getErrorCode(), Constant Field Values
      • WRITING_BIM_FAILED

        public static final int WRITING_BIM_FAILED
        Error occurred during writing to the BIM file. This is typically an IO error.
        See Also:
        getErrorCode(), Constant Field Values
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Get the exception message.
        Overrides:
        getMessage in class  java.lang.Throwable
        Returns:
        Descriptive text of the compilation error
      • getErrorCode

        public int getErrorCode()
        Get the compilation error code.
        Returns:
        Error code

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