ilog.cplex
Class IloCplexModeler.Exception

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byilog.concert.IloException
              extended byilog.cplex.IloCplexModeler.Exception
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
IloCplexModeler

public static class IloCplexModeler.Exception
extends IloException
implements java.io.Serializable

This class extends the class IloException by also capturing the CPLEX error code.

If an exception of type IloCplexModeler.Exception is caught, the CPLEX error code can be queried with the method getStatus.

See Also:
Serialized Form

Method Summary
 int getStatus()
          Return error code or status that caused the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getStatus

public int getStatus()
Return error code or status that caused the exception.