Anope IRC Services  Version 2.0
Public Member Functions
ModuleException Class Reference

#include <anope.h>

Inheritance diagram for ModuleException:
Inheritance graph
[legend]
Collaboration diagram for ModuleException:
Collaboration graph
[legend]

Public Member Functions

 ModuleException ()
 
 ModuleException (const Anope::string &message)
 
virtual ~ModuleException () throw ()
 
- Public Member Functions inherited from CoreException
 CoreException ()
 
 CoreException (const Anope::string &message)
 
 CoreException (const Anope::string &message, const Anope::string &src)
 
virtual ~CoreException () throw ()
 
virtual const Anope::stringGetReason () const
 
virtual const Anope::stringGetSource () const
 

Additional Inherited Members

- Protected Attributes inherited from CoreException
Anope::string err
 
Anope::string source
 

Detailed Description

Definition at line 683 of file anope.h.

Constructor & Destructor Documentation

ModuleException::ModuleException ( )
inline

Default constructor, just uses the error mesage 'Module threw an exception'.

Definition at line 688 of file anope.h.

ModuleException::ModuleException ( const Anope::string message)
inline

This constructor can be used to specify an error message before throwing.

Definition at line 692 of file anope.h.

virtual ModuleException::~ModuleException ( )
throw (
)
inlinevirtual

This destructor solves world hunger, cancels the world debt, and causes the world to end. Actually no, it does nothing. Never mind.

Exceptions
Nothing!

Definition at line 697 of file anope.h.


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