BNM 2.5.0
 
Loading...
Searching...
No Matches
Exceptions macro

Macros

#define BNM_try
 Define danger code block.
 
#define BNM_catch(ex)
 Define block to handle exceptions.
 
#define BNM_end_try
 End BNM_try or BNM_try&BNM_catch blocks.
 

Detailed Description

Macros for handling il2cpp's exceptions.

Macro Definition Documentation

◆ BNM_catch

#define BNM_catch ( ex)

Define block to handle exceptions.

Macro that allows to define a block of code to be executed, if an exception occurs in the try macro block.

Parameters
exBNM::Exception object name

◆ BNM_end_try

#define BNM_end_try

End BNM_try or BNM_try&BNM_catch blocks.

Should be always written after BNM_try code block or after BNM_catch block.

◆ BNM_try

#define BNM_try

Define danger code block.

Macro that allows to define a block of code to be tested for exception while it is being executed.