HydraExpress™ C++ API Reference Guide

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

Defines a base exception type for all exceptions thrown relevant to named objects. More...

#include <rwsf/core/NamingException.h>

Inheritance diagram for rwsf::NamingException:
rwsf::Exception

Public Member Functions

 NamingException (const rwsf::ExceptionInfo &eInfo)
 NamingException (const rwsf::ExceptionInfo &eInfo, const rwsf::LocalizedMessage &msg)
virtual ~NamingException () 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

NamingException defines a base exception type for all exceptions thrown relevant to named objects.

Constructor & Destructor Documentation

◆ NamingException() [1/2]

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

Constructs a general naming context exception with an empty message. See rwsf::Exception for more information on eInfo.

See also
rwsf::NamingContext.

◆ NamingException() [2/2]

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

Constructs a naming context exception with the given msg. See rwsf::Exception for more information on eInfo and rwsf::LocalizedMessage.

◆ ~NamingException()

virtual rwsf::NamingException::~NamingException ( )
virtualnoexcept

Destructor.

Member Function Documentation

◆ clone()

virtual Exception * rwsf::NamingException::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::NamingException::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.