Anope IRC Services  Version 2.0
Public Member Functions
ModuleException Class Reference

#include <anope.h>

Inheritance diagram for ModuleException:
Inheritance graph
Collaboration diagram for ModuleException:
Collaboration graph

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() [1/2]

ModuleException::ModuleException ( )

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

Definition at line 688 of file anope.h.

◆ ModuleException() [2/2]

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

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

Definition at line 692 of file anope.h.

◆ ~ModuleException()

virtual ModuleException::~ModuleException ( )
throw (

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


Definition at line 697 of file anope.h.

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