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

Argument error exception. More...

#include <exception.h>

Inheritance diagram for jwscxx::base::Arg_error:
Collaboration diagram for jwscxx::base::Arg_error:

List of all members.

Public Member Functions

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

Detailed Description

Argument error exception.

Thrown when an invalid argument is provided to a function.

Definition at line 203 of file exception.h.


Constructor & Destructor Documentation

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

Constructs an Exception caused by an invalid argument to a function.

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

Definition at line 240 of file exception.cpp.

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

Constructs an Exception caused by an invalid argument to a function.

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

Definition at line 251 of file exception.cpp.

Arg_error::Arg_error ( const Arg_error e)

Constructs an Exception from another.

Parameters:
eException to copy into this one.

Definition at line 258 of file exception.cpp.

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

Deletes an Arg_error.

Definition at line 226 of file exception.h.


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