XPRMCompileException
- java.lang.Object
 -  
  
- java.lang.Throwable
 -  
    
- java.lang.Exception
 -  
      
- com.dashoptimization.XPRMCompileException
 
 
 
 
-  
   
- All Implemented Interfaces:
 - java.io.Serializable
 
public class XPRMCompileException extends java.lang.ExceptionA 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 intCOMPILATION_FAILEDError occurred during the compilation.static intPARSING_FAILEDError detected during parsing.static intWRITING_BIM_FAILEDError occurred during writing to the BIM file. 
-  
        
Method Summary
Modifier and Type Method and Description intgetErrorCode()Get the compilation error code.java.lang.StringgetMessage()Get the exception message. 
 -  
        
 
-  
    
   
-  
        
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 
 
 -  
 
 -  
        
 
