Skip to main content
FRAMES NO FRAMES

Class IloOplException

Definition file: ilopl/ilooplexception.h
Map of IloOplExceptionIloOplExceptionIloOplExceptionIloException
Base class for all exceptions thrown by OPL.

An OPL exception transports a message.

Method Summary
public virtual IloOplLocationgetLocation() const
public virtual const char *getMessage() const
public virtual const IloOplMessage &getOplMessage() const
Inherited Methods from IloException
end, getMessage, IloException
Method Detail

getLocation

public virtual IloOplLocation getLocation() const

Returns the location that threw this exception, if available.

See Also:


getMessage

public virtual const char * getMessage() const

Returns the exception message text.


getOplMessage

public virtual const IloOplMessage & getOplMessage() const

Returns the exception message object.