Version 7.0
Copyright © 2021 Lowell D. Thomas
APG
… an ABNF Parser Generator
Data Fields
exception Struct Reference

A structure to describe the type and location of a caught exception. More...

#include <exception.h>

Data Fields

const void * vpValidate
 Used by the memory object to validate the exception structure. More...
 
abool try
 True for the try block, false for the catch block. More...
 
jmp_buf aJmpBuf
 A "long jump" context array. Long jumps to "catch" area on thrown exception. More...
 
unsigned int uiLine
 The source code line number where the error occurred. "__LINE__". More...
 
char caMsg [256]
 A the caller's error message. More...
 
char caFile [256]
 The source code file name where the error occurred. "__FILE__". More...
 
char caFunc [64]
 The source code function name where the error occurred. "__func__". More...
 

Detailed Description

A structure to describe the type and location of a caught exception.

struct exception

Definition at line 47 of file exception.h.

Field Documentation

◆ aJmpBuf

jmp_buf exception::aJmpBuf

A "long jump" context array. Long jumps to "catch" area on thrown exception.

Definition at line 50 of file exception.h.

◆ caFile

char exception::caFile[256]

The source code file name where the error occurred. "__FILE__".

Definition at line 53 of file exception.h.

◆ caFunc

char exception::caFunc[64]

The source code function name where the error occurred. "__func__".

Definition at line 54 of file exception.h.

◆ caMsg

char exception::caMsg[256]

A the caller's error message.

Definition at line 52 of file exception.h.

◆ try

abool exception::try

True for the try block, false for the catch block.

Definition at line 49 of file exception.h.

◆ uiLine

unsigned int exception::uiLine

The source code line number where the error occurred. "__LINE__".

Definition at line 51 of file exception.h.

◆ vpValidate

const void* exception::vpValidate

Used by the memory object to validate the exception structure.

Definition at line 48 of file exception.h.


The documentation for this struct was generated from the following file:
APG Version 7.0 is licensed under the 2-Clause BSD License,
an Open Source Initiative Approved License.