Go to the documentation of this file.
5 #ifndef BALL_COMMON_EXCEPTION_H
6 #define BALL_COMMON_EXCEPTION_H
8 #ifndef BALL_CONFIG_CONFIG_H
9 # include <BALL/CONFIG/config.h>
12 #ifndef BALL_COMMON_GLOBAL_H
16 #ifdef BALL_COMPILER_MSVC
18 #pragma warning( disable : 4251 ) //disable needs to have dll-interface to be used by clients of class 'std::string'
60 :
public std::exception
76 (
const char* file,
int line,
94 const char* getMessage()
const;
97 void setMessage(
const std::string& message);
103 const char* getFile()
const;
367 String getFilename()
const;
380 IllegalPosition(
const char* file,
int line,
float x,
float y,
float z);
403 Precondition(
const char* file,
int line,
const char* condition);
414 Postcondition(
const char* file,
int line,
const char* condition);
524 static void setName(
const String& name);
527 static void setMessage(
const String& message);
530 static void setLine(
int line);
533 static void setFile(
const String& file);
537 (
const String& file,
int line,
544 static void terminate();
583 #ifdef BALL_COMPILER_MSVC
587 #endif // BALL_COMMON_EXCEPTION_H