JSim 2026.06.01-p(1)
Loading...
Searching...
No Matches
jsim.JSimException Class Reference
Inheritance diagram for jsim.JSimException:

Public Member Functions

 JSimException (String operation, int rc, String suggestion)
int getRc ()

Detailed Description

Runtime exception type for JSim native operation failures.

A well-formed JSimException answers: what happened (operation), how it happened (native return code), and how to fix it (suggestion).

Constructor & Destructor Documentation

◆ JSimException()

jsim.JSimException.JSimException ( String operation,
int rc,
String suggestion )
inline

Constructs a new JSimException describing a native operation failure.

Parameters
operationoperation that failed
rcnative return code (non-zero indicates an error)
suggestionhow to fix or mitigate the failure

Member Function Documentation

◆ getRc()

int jsim.JSimException.getRc ( )
inline

Returns the native return code associated with this failure.

Returns
native return code (non-zero indicates an error)

The documentation for this class was generated from the following file: