Loading...
Searching...
No Matches
com.gams.api.GAMSException Class Reference

GAMSException contains the information described the cause of exception during the execution of GAMS Java API. More...

Inheritance diagram for com.gams.api.GAMSException:
com.gams.api.GAMSExecutionException

Public Member Functions

 GAMSException ()
 Constructs a new GAMSException.
 
 GAMSException (String message)
 Constructs a new GAMSException with the specified detail message.
 
String getMessage ()
 Returns the detailed message string of this GAMSException.
 

Detailed Description

GAMSException contains the information described the cause of exception during the execution of GAMS Java API.

GAMSException extends Java RuntimeException therefore, it can be thrown during the normal operation of the Java Virtual Machine.

Constructor & Destructor Documentation

◆ GAMSException() [1/2]

com.gams.api.GAMSException.GAMSException ( )

Constructs a new GAMSException.

◆ GAMSException() [2/2]

com.gams.api.GAMSException.GAMSException ( String  message)

Constructs a new GAMSException with the specified detail message.

Parameters
messagethe detail message.

Member Function Documentation

◆ getMessage()

String com.gams.api.GAMSException.getMessage ( )

Returns the detailed message string of this GAMSException.

Returns
the detailed message string of this GAMSException instance.

Reimplemented in com.gams.api.GAMSExecutionException.