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

#include <BALL/COMMON/exception.h>

Inheritance diagram for BALL::Exception::FileNotFound:
BALL::Exception::GeneralException

Public Member Functions

 FileNotFound (const char *file, int line, const String &filename)
 
 ~FileNotFound () throw ()
 
String getFilename () const
 
- 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...
 

Protected Attributes

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

Detailed Description

File not found. A given file could not be found.

Definition at line 359 of file COMMON/exception.h.

Constructor & Destructor Documentation

BALL::Exception::FileNotFound::FileNotFound ( const char *  file,
int  line,
const String filename 
)
BALL::Exception::FileNotFound::~FileNotFound ( )
throw (
)

Member Function Documentation

String BALL::Exception::FileNotFound::getFilename ( ) const

Member Data Documentation

std::string BALL::Exception::FileNotFound::filename_
protected

Definition at line 370 of file COMMON/exception.h.