AMPLInternalException

class AMPLInternalException extends RuntimeException

Captures an error happened during the inner workings of the API. Two main types of errors are included: 1) exceptions thrown when validating parameters of function 2) AMPL syntax errors presented when interacting with AMPL for the procedures like getting data for entities and so forth. This is then processed by the internalDiagnosticHandler

Fields

amplCommand

String amplCommand

procedure

String procedure

Constructors

AMPLInternalException

AMPLInternalException(Throwable cause, String procedure, String AMPLCommand)

AMPLInternalException

AMPLInternalException(String message, String procedure)

AMPLInternalException

AMPLInternalException(String message, String procedure, String AMPLCommand)

Methods

toString

public String toString()