WrongArgumentError Class Reference
[Gdb]

Wrong argument error class. More...

Inheritance diagram for WrongArgumentError:

Inheritance graph
Collaboration diagram for WrongArgumentError:

Collaboration graph

List of all members.

Public Member Functions

 WrongArgumentError ()
 Creates a new instance.
 WrongArgumentError (const std::string &mess)
 Creates a new instance.
virtual ~WrongArgumentError ()
 Destructor.
const std::string & Message () const
 Gets the message of the exception.
void SetMessage (const std::string &mess)
 Sets the message of the exception.

Static Public Member Functions

static Error NewError (int32_t coreErrorCode)
 Creates a new Error instance from a sparksee_core error code.

Protected Attributes

std::string message
 Message of the exception.


Detailed Description

Wrong argument error class.

Author:
Sparsity Technologies http://www.sparsity-technologies.com

Constructor & Destructor Documentation

WrongArgumentError::WrongArgumentError ( const std::string &  mess  ) 

Creates a new instance.

Parameters:
mess [in] Message of the exception.


Member Function Documentation

static Error Error::NewError ( int32_t  coreErrorCode  )  [static, inherited]

Creates a new Error instance from a sparksee_core error code.

Parameters:
coreErrorCode [in] Sparkseecore error code.
Returns:
Depending on the given sparksee_core error, this may return an Error instance or an specific Error subclass instance.

const std::string& Exception::Message (  )  const [inherited]

Gets the message of the exception.

It should be called GetMessage but this is not possible because of a macro defined in Windows.

Returns:
The message of the exception.

void Exception::SetMessage ( const std::string &  mess  )  [inherited]

Sets the message of the exception.

Parameters:
mess [in] Message.


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

Generated on Fri Feb 7 13:10:17 2014 for Sparksee by  doxygen 1.5.6