mixmod  3.2.0
Mixture models for clustering and classification
 All Classes Namespaces Files Functions Variables Enumerations Friends
XEM::Exception Class Reference
Inheritance diagram for XEM::Exception:
Collaboration diagram for XEM::Exception:

Public Member Functions

 Exception (const std::string &what_arg) throw ()
 
 Exception (const std::string &msg, const std::string &file, int line) throw ()
 
 Exception (const Exception &exception)
 
virtual Exceptionclone () throw ()
 
virtual const char * what () const throw ()
 
virtual Exception const & getError () const throw ()
 
virtual bool operator== (const Exception &) const throw ()
 
virtual bool operator!= (const Exception &other) const throw ()
 
virtual void run (std::ostream &flux=std::cout) const throw ()
 

Member Function Documentation

virtual Exception const& XEM::Exception::getError ( ) const
throw (
)
inlinevirtual

Getter function for error.

Here is the caller graph for this function:

virtual bool XEM::Exception::operator!= ( const Exception other) const
throw (
)
inlinevirtual

Inequality check: Return true if equality check fails.

bool XEM::Exception::operator== ( const Exception other) const
throw (
)
virtual

Equality check : Return true if both the Exception class as well as it's ErrorType_ is same.

Reimplemented in XEM::InputException, XEM::DCVException, XEM::DCVonlyInGaussianCaseException, XEM::NumericException, and XEM::OtherException.

void XEM::Exception::run ( std::ostream &  flux = std::cout) const
throw (
)
virtual

Interface for runner method. It will print the error and its content to the stream passed as argument.

Reimplemented in XEM::InputException, XEM::DCVException, XEM::DCVonlyInGaussianCaseException, XEM::NumericException, and XEM::OtherException.

const char * XEM::Exception::what ( ) const
throw (
)
virtual

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