BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
BALL::QSAR::Exception::InconsistentUsage Class Reference

#include <BALL/QSAR/exception.h>

Inheritance diagram for BALL::QSAR::Exception::InconsistentUsage:
BALL::Exception::GeneralException

Public Member Functions

 InconsistentUsage (const char *file, unsigned long line, const char *mess="") throw ()
 
- Public Member Functions inherited from BALL::Exception::GeneralException
 GeneralException ()
 Default constructor. More...
 
 GeneralException (const char *file, int line)
 Constructor. More...
 
 GeneralException (const char *file, int line, const String &name, const String &message)
 Constructor. More...
 
 GeneralException (const GeneralException &exception)
 Copy constructor. More...
 
virtual ~GeneralException () throw ()
 Destructor. More...
 
const char * getName () const
 Returns the name of the exception. More...
 
const char * getMessage () const
 Returns the error message of the exception. More...
 
void setMessage (const std::string &message)
 Modify the exception's error message. More...
 
int getLine () const
 Returns the line number where it occured. More...
 
const char * getFile () const
 Returns the file where it occured. More...
 

Additional Inherited Members

- Protected Attributes inherited from BALL::Exception::GeneralException
const char * file_
 
int line_
 
std::string name_
 
std::string message_
 

Detailed Description

class for errors that are due to inconsistent use of methods by the user; e.g. requesting training of a model before some data has been read ...

Definition at line 45 of file QSAR/exception.h.

Constructor & Destructor Documentation

BALL::QSAR::Exception::InconsistentUsage::InconsistentUsage ( const char *  file,
unsigned long  line,
const char *  mess = "" 
)
throw (
)