linbox
LinboxError Class Reference

base class for execption handling in LinBox More...

#include <error.h>

+ Inheritance diagram for LinboxError:

Public Member Functions

 LinboxError (const std::string &msg)
 
 LinboxError (const char *msg="\0")
 
const char * what () const
 
virtual std::ostream & print (std::ostream &o) const
 
virtual ~LinboxError ()
 

Static Public Member Functions

static void throw_error (const LinboxError &err)
 

Protected Attributes

char strg [max_error_string]
 

Friends

std::ostream & operator<< (std::ostream &o, const LinboxError &E)
 

Detailed Description

base class for execption handling in LinBox

Examples
examples/dixonsolve.C.

Constructor & Destructor Documentation

◆ LinboxError() [1/2]

LinboxError ( const std::string & msg)
inline

◆ LinboxError() [2/2]

LinboxError ( const char * msg = "\0")
inline

◆ ~LinboxError()

virtual ~LinboxError ( )
inlinevirtual

Member Function Documentation

◆ what()

const char * what ( ) const
inline

◆ print()

virtual std::ostream & print ( std::ostream & o) const
inlinevirtual

◆ throw_error()

static void throw_error ( const LinboxError & err)
inlinestatic

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & o,
const LinboxError & E )
friend

Field Documentation

◆ strg

char strg[max_error_string]
protected

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