linbox
LinBoxError Class Reference

#include <debug.h>

+ Inheritance diagram for LinBoxError:

Public Member Functions

 LinBoxError (const std::string &what, const char *function="\0", const char *file="\0", int line=-1)
 
 LinBoxError (const char *what, const char *function="\0", const char *file="\0", int line=-1)
 

Static Protected Attributes

static std::ostream * _errorStream
 

Detailed Description

Something is wrong. what ?

Constructor & Destructor Documentation

◆ LinBoxError() [1/2]

LinBoxError ( const std::string & what,
const char * function = "\0",
const char * file = "\0",
int line = -1 )
inline

◆ LinBoxError() [2/2]

LinBoxError ( const char * what,
const char * function = "\0",
const char * file = "\0",
int line = -1 )
inline

User failed. The parameter help debugging/explaining.

Parameters
functionusually __func__, the function that threw the error
fileusually __FILE__, the file where this function is
lineusually __LINE__, the line where it happened
whatwhat happened ? should not be NULL...

Field Documentation

◆ _errorStream

std::ostream * _errorStream
staticprotectedinherited

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