BALL 1.5.0
Loading...
Searching...
No Matches
BALL::VIEW::ColorUnit::NotInHexFormat Class Reference

#include <BALL/VIEW/DATATYPE/colorUnit.h>

Inheritance diagram for BALL::VIEW::ColorUnit::NotInHexFormat:
BALL::Exception::GeneralException

Public Member Functions

 NotInHexFormat (const char *file, int line, const string &data)
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

NotInHexFormat Exception class. This exeption will be thrown if a given string for the colorUnit class is not in the format "00" - "FF" or "00" - "ff".

See also
Exception::GeneralException

Definition at line 48 of file colorUnit.h.

Constructor & Destructor Documentation

◆ NotInHexFormat()

BALL::VIEW::ColorUnit::NotInHexFormat::NotInHexFormat ( const char * file,
int line,
const string & data )