ilog.cplex.example
Class CpxException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--ilog.cplex.example.CpxException

public class CpxException
extends java.lang.Exception

Exception class for nonzero CPLEX return codes. Each time a callable library function returns a nonzero error status a Java exception of this class is thrown.

See Also:
Serialized Form

Constructor Summary
CpxException(int num, java.lang.String message)
           
 
Method Summary
 int getNumber()
          return the CPLEX error status
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CpxException

public CpxException(int num,
                    java.lang.String message)
Method Detail

getNumber

public int getNumber()
return the CPLEX error status