HydraExpress™ C++ API Reference Guide

 
Loading...
Searching...
No Matches
rwsf::LoggerException Class Reference

Defines a general exception associated with the logging subsystem. More...

#include <rwsf/core/LoggerException.h>

Inheritance diagram for rwsf::LoggerException:
rwsf::Exception

Public Member Functions

 LoggerException (const rwsf::ExceptionInfo &eInfo)
 LoggerException (const rwsf::ExceptionInfo &eInfo, const rwsf::LocalizedMessage &msg)
virtual ~LoggerException () noexcept
virtual Exceptionclone (void) const
virtual void raise (void) const
Public Member Functions inherited from rwsf::Exception
 Exception (const char *msg)
 Exception (const Exception &)
 Exception (const ExceptionInfo &eInfo)
 Exception (const rwsf::ExceptionInfo &eInfo, const LocalizedMessage &msg)
 Exception (const std::string &msg)
virtual ~Exception () noexcept
const char * getFileName () const
const char * getFunctionName () const
unsigned long getLineNumber () const
virtual bool operator!= (const Exception exc2)
Exceptionoperator= (const Exception &m)
virtual bool operator== (const Exception exc2)
virtual const char * what () const noexcept

Additional Inherited Members

Detailed Description

LoggerException defines a general exception associated with the logging subsystem. LoggerException is thrown from the LogManager if it is not initialized and is used, and from the LogRotatingFileWriter if the timestamp fails.

Constructor & Destructor Documentation

◆ LoggerException() [1/2]

rwsf::LoggerException::LoggerException ( const rwsf::ExceptionInfo & eInfo)

Constructs a general logger exception with an empty message.

◆ LoggerException() [2/2]

rwsf::LoggerException::LoggerException ( const rwsf::ExceptionInfo & eInfo,
const rwsf::LocalizedMessage & msg )

Constructs a general logger exception for the given message.

◆ ~LoggerException()

virtual rwsf::LoggerException::~LoggerException ( )
virtualnoexcept

Destructor.

Member Function Documentation

◆ clone()

virtual Exception * rwsf::LoggerException::clone ( void ) const
virtual

Creates a new copy of self on the heap. Overridden in derived classes to construct an instance of the correct derived type. It is up to the user to ensure that the returned Exception object is deleted.

Reimplemented from rwsf::Exception.

◆ raise()

virtual void rwsf::LoggerException::raise ( void ) const
virtual

Throws self. Overridden in derived classes to throw the correct derived type.

Reimplemented from rwsf::Exception.

Copyright © 2026 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.