JWS C++ Library
C++ language utility library
jwscxx::base::Result_error Class Reference

Result error exception. More...

#include <exception.h>

Inheritance diagram for jwscxx::base::Result_error:
Collaboration diagram for jwscxx::base::Result_error:

List of all members.

Public Member Functions

 Result_error (const char *msg, const char *file=0, uint32_t line=0)
 Constructs an Exception caused by an invalid result generated by a function.
 Result_error (const string &msg, const char *file=0, uint32_t line=0)
 Constructs an Exception caused by an invalid result generated by a function.
 Result_error (const Result_error &e)
 Constructs an Exception from another.
virtual ~Result_error ()
 Deletes a Result_error.

Detailed Description

Result error exception.

Thrown when an invalid result is generated by a function.

Definition at line 239 of file exception.h.


Constructor & Destructor Documentation

Result_error::Result_error ( const char *  msg,
const char *  file = 0,
uint32_t  line = 0 
)

Constructs an Exception caused by an invalid result generated by a function.

Parameters:
msgError message.
fileFile where the error occurred.
lineLine approximately where the error occurred.

Definition at line 277 of file exception.cpp.

Result_error::Result_error ( const string &  msg,
const char *  file = 0,
uint32_t  line = 0 
)

Constructs an Exception caused by an invalid result generated by a function.

Parameters:
msgError message.
fileFile where the error occurred.
lineLine approximately where the error occurred.

Definition at line 288 of file exception.cpp.

Result_error::Result_error ( const Result_error e)

Constructs an Exception from another.

Parameters:
eException to copy into this one.

Definition at line 295 of file exception.cpp.

virtual jwscxx::base::Result_error::~Result_error ( ) [inline, virtual]

Deletes a Result_error.

Definition at line 262 of file exception.h.


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