BALL 1.5.0
Loading...
Searching...
No Matches
BALL::HashSet< Key >::IllegalKey Class Reference

#include <BALL/DATATYPE/hashSet.h>

Inheritance diagram for BALL::HashSet< Key >::IllegalKey:
BALL::Exception::GeneralException

Public Member Functions

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

Additional Inherited Members

const char * file_
int line_
std::string name_
std::string message_

Detailed Description

template<class Key>
class BALL::HashSet< Key >::IllegalKey

Illegal key exception. Thrown if access to a non-existent key is required by the constant version of operator [] .

Definition at line 263 of file hashSet.h.

Constructor & Destructor Documentation

◆ IllegalKey()

template<class Key>
BALL::HashSet< Key >::IllegalKey::IllegalKey ( const char * file,
int line )
inline

Definition at line 267 of file hashSet.h.