LibreOffice Module svtools (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SfxErrorHandler Class Reference

#include <ehdl.hxx>

Inheritance diagram for SfxErrorHandler:
[legend]
Collaboration diagram for SfxErrorHandler:
[legend]

Public Member Functions

 SfxErrorHandler (const ErrMsgCode *pIds, ErrCodeArea lStart, ErrCodeArea lEnd, const std::locale &rResLocale=SvtResLocale())
 
virtual ~SfxErrorHandler () override
 

Protected Member Functions

bool GetErrorString (ErrCode lErrId, OUString &) const
 

Private Member Functions

virtual bool CreateString (const ErrorInfo *, OUString &) const override
 
- Private Member Functions inherited from ErrorHandler
 ErrorHandler ()
 
virtual ~ErrorHandler ()
 
virtual bool CreateString (const ErrorInfo *, OUString &) const=0
 

Static Private Member Functions

static SVT_DLLPRIVATE void GetClassString (ErrCodeClass lErrId, OUString &)
 
- Static Private Member Functions inherited from ErrorHandler
static DialogMask HandleError (ErrCode nId, weld::Window *pParent=nullptr, DialogMask nMask=DialogMask::MAX)
 
static bool GetErrorString (ErrCode nId, OUString &rStr)
 

Private Attributes

ErrCodeArea lStart
 
ErrCodeArea lEnd
 
const ErrMsgCodepIds
 
std::locale aResLocale
 

Detailed Description

Definition at line 50 of file ehdl.hxx.

Constructor & Destructor Documentation

◆ SfxErrorHandler()

SfxErrorHandler::SfxErrorHandler ( const ErrMsgCode pIds,
ErrCodeArea  lStart,
ErrCodeArea  lEnd,
const std::locale &  rResLocale = SvtResLocale() 
)

Definition at line 144 of file ehdl.cxx.

References aWndFunc(), and ErrorRegistry::RegisterDisplay().

◆ ~SfxErrorHandler()

SfxErrorHandler::~SfxErrorHandler ( )
overridevirtual

Definition at line 150 of file ehdl.cxx.

Member Function Documentation

◆ CreateString()

bool SfxErrorHandler::CreateString ( const ErrorInfo pErr,
OUString &  rStr 
) const
overrideprivatevirtual

◆ GetClassString()

void SfxErrorHandler::GetClassString ( ErrCodeClass  lErrId,
OUString &  rStr 
)
staticprivate

Definition at line 187 of file ehdl.cxx.

References SvtResId().

◆ GetErrorString()

bool SfxErrorHandler::GetErrorString ( ErrCode  lErrId,
OUString &  rStr 
) const
protected

Definition at line 207 of file ehdl.cxx.

References Translate::get().

Member Data Documentation

◆ aResLocale

std::locale SfxErrorHandler::aResLocale
private

Definition at line 64 of file ehdl.hxx.

◆ lEnd

ErrCodeArea SfxErrorHandler::lEnd
private

Definition at line 62 of file ehdl.hxx.

◆ lStart

ErrCodeArea SfxErrorHandler::lStart
private

Definition at line 61 of file ehdl.hxx.

◆ pIds

const ErrMsgCode* SfxErrorHandler::pIds
private

Definition at line 63 of file ehdl.hxx.


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