rwlogo
HydraExpress 4.7

HydraExpress C++ API Reference Guide

Product Documentation:
   Documentation Home

List of all members | Public Member Functions
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 () throw ()
 
virtual Exceptionclone (void) const
 
virtual void raise (void) const
 
- Public Member Functions inherited from rwsf::Exception
 Exception (const ExceptionInfo &eInfo)
 
 Exception (const char *msg)
 
 Exception (const std::string &msg)
  More...
 
 Exception (const rwsf::ExceptionInfo &eInfo, const LocalizedMessage &msg)
 
 Exception (const Exception &)
 
virtual ~Exception () throw ()
 
const char * getFileName () const
 
const char * getFunctionName () const
 
unsigned long getLineNumber () const
 
virtual bool operator!= (const Exception exc2)
  More...
 
Exceptionoperator= (const Exception &m)
 
virtual bool operator== (const Exception exc2)
 
virtual const char * what () const throw ()
 

Additional Inherited Members

Detailed Description

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

Constructor & Destructor Documentation

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.
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.

virtual rwsf::NamingException::~NamingException ( ) throw ()
virtual

Destructor.

Member Function Documentation

virtual Exception* rwsf::NamingException::clone ( void  ) const
virtual
  • Creates a new instance of self on the heap and returns the * pointer to the user. The user is responsible for deallocating * the associated memory.

Reimplemented from rwsf::Exception.

virtual void rwsf::NamingException::raise ( void  ) const
virtual
  • Throws a copy of self.

Reimplemented from rwsf::Exception.


Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo are registered trademarks of Rogue Wave Software, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.