BearParser
Portable Executable parsing library (from PE-bear)
Loading...
Searching...
No Matches
CustomException Class Reference

#include <CustomException.h>

Collaboration diagram for CustomException:

Public Member Functions

 CustomException (const QString info, const int32_t code=UNKNOWN_EXCEPTION)
 
 CustomException (const int32_t code)
 
virtual ~CustomException () throw ()
 
QString getInfo ()
 
int getCode ()
 
virtual const char * what () const throw ()
 

Protected Member Functions

virtual QString codeToString ()
 

Protected Attributes

QString m_info
 
std::string m_strInfo
 
const int m_code
 

Detailed Description

Definition at line 11 of file CustomException.h.

Constructor & Destructor Documentation

◆ CustomException() [1/2]

CustomException::CustomException ( const QString info,
const int32_t code = UNKNOWN_EXCEPTION )
inline

Definition at line 14 of file CustomException.h.

◆ CustomException() [2/2]

CustomException::CustomException ( const int32_t code)
inline

Definition at line 17 of file CustomException.h.

◆ ~CustomException()

virtual CustomException::~CustomException ( )
throw ( )
inlinevirtual

Definition at line 20 of file CustomException.h.

Member Function Documentation

◆ codeToString()

virtual QString CustomException::codeToString ( )
inlineprotectedvirtual

Definition at line 27 of file CustomException.h.

◆ getCode()

int CustomException::getCode ( )
inline

Definition at line 23 of file CustomException.h.

◆ getInfo()

QString CustomException::getInfo ( )
inline

Definition at line 22 of file CustomException.h.

Here is the call graph for this function:

◆ what()

virtual const char * CustomException::what ( ) const
throw ( )
inlinevirtual

Definition at line 24 of file CustomException.h.

Member Data Documentation

◆ m_code

const int CustomException::m_code
protected

Definition at line 30 of file CustomException.h.

◆ m_info

QString CustomException::m_info
protected

Definition at line 28 of file CustomException.h.

◆ m_strInfo

std::string CustomException::m_strInfo
protected

Definition at line 29 of file CustomException.h.


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