Exception thrown if not enough data (<2) is used. More...
#include <OpenMS/COMPARISON/CLUSTERING/ClusterFunctor.h>
 
  
 | Public Member Functions | |
| InsufficientInput (const char *file, int line, const char *function, const char *message="not enough data points to cluster anything") throw () | |
| virtual | ~InsufficientInput () throw () | 
|  Public Member Functions inherited from BaseException | |
| BaseException () throw () | |
| Default constructor.  More... | |
| BaseException (const char *file, int line, const char *function) throw () | |
| Constructor.  More... | |
| BaseException (const char *file, int line, const char *function, const std::string &name, const std::string &message) throw () | |
| Constructor.  More... | |
| BaseException (const BaseException &exception) throw () | |
| Copy constructor.  More... | |
| virtual | ~BaseException () throw () | 
| Destructor.  More... | |
| const char * | getName () const throw () | 
| Returns the name of the exception.  More... | |
| virtual const char * | what () const throw () | 
| Returns the error message of the exception.  More... | |
| int | getLine () const throw () | 
| Returns the line number where it occured.  More... | |
| const char * | getFile () const throw () | 
| Returns the file where it occured.  More... | |
| const char * | getFunction () const throw () | 
| Returns the function where it occured.  More... | |
| const char * | getMessage () const throw () | 
| Returns the message.  More... | |
| void | setMessage (const std::string &message) throw () | 
| Modify the exception's error message.  More... | |
| Additional Inherited Members | |
|  Protected Attributes inherited from BaseException | |
| const char * | file_ | 
| The source file the exception was thrown in.  More... | |
| int | line_ | 
| The line number the exception was thrown in.  More... | |
| const char * | function_ | 
| The source file the exception was thrown in.  More... | |
| std::string | name_ | 
| The name of the exception.  More... | |
| std::string | what_ | 
| A more detailed description of the exception's cause.  More... | |
Exception thrown if not enough data (<2) is used.
If the set of data to be clustered contains only one data point, clustering algorithms would fail for obvious reasons.
| InsufficientInput | ( | const char * | file, | 
| int | line, | ||
| const char * | function, | ||
| const char * | message = "not enough data points to cluster anything" | ||
| ) | |||
| throw | ( | ||
| ) | |||
| 
 | virtual | |||||||||||||
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:28 using doxygen 1.8.5 |