Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Burger::Flash::ExceptionInfo Class Reference

Data to represent exception_info. More...

Inheritance diagram for Burger::Flash::ExceptionInfo:
Collaboration diagram for Burger::Flash::ExceptionInfo:

Public Member Functions

 ExceptionInfo ()
 Standard constructor.
 
virtual ~ExceptionInfo ()
 Standard destructor.
 
void Read (Stream *pStream)
 Read from an input stream.
 
- Public Member Functions inherited from Burger::WeakAndStrongBase
ProxyReferenceCounterGetProxyReferenceCounter (void) const noexcept
 Function used by WeakPointer.
 
const Burger::StaticRTTIget_StaticRTTI (void) const noexcept override
 Get the description to the class.
 
- Public Member Functions inherited from Burger::ReferenceCounter
 ReferenceCounter () noexcept
 Sets the reference count to zero.
 
virtual ~ReferenceCounter ()
 Destructor.
 
void AddRef (void) noexcept
 Increase the reference count by 1.
 
void Release (void) noexcept
 Decrease the reference count by 1.
 
- Public Member Functions inherited from Burger::Base
const char * get_class_name (void) const noexcept
 Get the name of the class.
 
virtual ~Base () noexcept=default
 Destructor.
 

Public Attributes

uint_t m_uFrom
 The starting position in the code field from which the exception is enabled.
 
uint_t m_uTo
 The ending position in the code field after which the exception is disabled.
 
uint_t m_uTarget
 The position in the code field to which control should jump if an exception of type exc_type is encountered.
 
uint_t m_uExceptionType
 An index into the string array of the constant pool that identifies the name of the type of exception.
 
uint_t m_uVariableName
 This index into the string array of the constant pool defines the name of the variable that is to receive the exception object.
 

Private Member Functions

 ExceptionInfo (const ExceptionInfo &)=delete
 
ExceptionInfooperator= (const ExceptionInfo &)=delete
 
 ExceptionInfo (ExceptionInfo &&)=delete
 
ExceptionInfooperator= (ExceptionInfo &&)=delete
 

Additional Inherited Members

- Static Public Attributes inherited from Burger::WeakAndStrongBase
static const Burger::StaticRTTI g_StaticRTTI
 The global description of the class.
 
- Static Public Attributes inherited from Burger::ReferenceCounter
static const Burger::StaticRTTI g_StaticRTTI
 The global description of the class.
 
- Static Public Attributes inherited from Burger::Base
static const Burger::StaticRTTI g_StaticRTTI
 The global description of the class.
 

Detailed Description

Data to represent exception_info.


The ExceptionInfo entry is used to define an exception handler

Full documentation is found on page 34 of the file avm2overview.pdf

Constructor & Destructor Documentation

◆ ExceptionInfo() [1/3]

Burger::Flash::ExceptionInfo::ExceptionInfo ( )

Standard constructor.


Initialize the WeakPointer data

◆ ~ExceptionInfo()

Burger::Flash::ExceptionInfo::~ExceptionInfo ( )
virtual

Standard destructor.


Signal all WeakPointer references

◆ ExceptionInfo() [2/3]

Burger::Flash::ExceptionInfo::ExceptionInfo ( const ExceptionInfo & )
privatedelete

◆ ExceptionInfo() [3/3]

Burger::Flash::ExceptionInfo::ExceptionInfo ( ExceptionInfo && )
privatedelete

Member Function Documentation

◆ operator=() [1/2]

ExceptionInfo & Burger::Flash::ExceptionInfo::operator= ( const ExceptionInfo & )
privatedelete

◆ operator=() [2/2]

ExceptionInfo & Burger::Flash::ExceptionInfo::operator= ( ExceptionInfo && )
privatedelete

◆ Read()

void BURGER_API Burger::Flash::ExceptionInfo::Read ( Stream * pStream)

Read from an input stream.


Parse the data from the stream to fill in the structure.

Parameters
pStreamPointer to the input stream

Member Data Documentation

◆ m_uExceptionType

uint_t Burger::Flash::ExceptionInfo::m_uExceptionType

An index into the string array of the constant pool that identifies the name of the type of exception.

◆ m_uFrom

uint_t Burger::Flash::ExceptionInfo::m_uFrom

The starting position in the code field from which the exception is enabled.

◆ m_uTarget

uint_t Burger::Flash::ExceptionInfo::m_uTarget

The position in the code field to which control should jump if an exception of type exc_type is encountered.

◆ m_uTo

uint_t Burger::Flash::ExceptionInfo::m_uTo

The ending position in the code field after which the exception is disabled.

◆ m_uVariableName

uint_t Burger::Flash::ExceptionInfo::m_uVariableName

This index into the string array of the constant pool defines the name of the variable that is to receive the exception object.