45 ICLException(
const std::string &msg)
throw() : runtime_error(msg){}
63 ICLException (std::string(
"Can't open file: ") + sFileName) {}
71 ICLException (std::string(
"File not found: ") + sFileName) {}
79 ICLException (std::string(
"Invalied file: ") + sFileName) {}
87 ICLException(std::string(
"Invalid Img-Parameter: ")+param) {}
95 ICLException(std::string(
"Invalid Format in: ")+functionName) {}
103 ICLException(std::string(
"Invalid Depth in: ")+functionName) {}
111 ICLException(std::string(
"Invalid number of Channels in: ")+functionName) {}
119 ICLException(std::string(
"Invalid Size in: ")+functionName) {}
127 ICLException(std::string(
"unable to parse: ")+whatToParse) {}
128 ParseException(
const std::string &
function,
const std::string &
line,
const std::string &hint=
"") throw():
137 ICLException(
"invalid regular expression: '"+regex+
"'"){
142 #define ICL_FILE_LOCATION (std::string(__FUNCTION__) + "(" + __FILE__ + ")") 143 #define ICL_INVALID_FORMAT throw InvalidFormatException(ICL_FILE_LOCATION) 144 #define ICL_INVALID_DEPTH throw InvalidDepthException(ICL_FILE_LOCATION)
undocument this line if you encounter any issues!
Definition: Any.h:37
Function< R, A, B, C > function(Object &obj, R(Object::*method)(A, B, C))
Create Function instances from member functions.
Definition: Function.h:376
Exception thrown if a file could not be read properly.
Definition: Exception.h:76
InvalidRegularExpressionException(const std::string ®ex)
Definition: Exception.h:136
FileOpenException(const std::string &sFileName)
Definition: Exception.h:62
InvalidSizeException(const std::string &functionName)
Definition: Exception.h:118
virtual ~FileOpenException()
Definition: Exception.h:64
#define ICLUtils_API
this macros are important for creating dll's
Definition: CompatMacros.h:171
Exception thrown if a function should process an unsupported image depth.
Definition: Exception.h:100
virtual ~InvalidSizeException()
Definition: Exception.h:120
virtual ~InvalidDepthException()
Definition: Exception.h:104
Exception thrown if a string is parsed into a specific type (or something)
Definition: Exception.h:124
InvalidFileException(const std::string &sFileName)
Definition: Exception.h:78
ICLQt_API void line(ImgQ &image, int x1, int y1, int x2, int y2)
draws a line into an image
ICLException(const std::string &msg)
Definition: Exception.h:45
InvalidNumChannelException(const std::string &functionName)
Definition: Exception.h:110
virtual ~InvalidRegularExpressionException()
Definition: Exception.h:139
format
determines the color-format, that is associated with the images channels
Definition: Types.h:70
virtual ~FileNotFoundException()
Definition: Exception.h:72
InvalidDepthException(const std::string &functionName)
Definition: Exception.h:102
ICLUtils_API void report()
virtual ~InvalidNumChannelException()
Definition: Exception.h:112
Exception thrown if a file could not be found.
Definition: Exception.h:68
ICLCV_API void error(const char *msg)
Display error message and terminate program.
Thrown by iclStringUtils::match if regular Expression is not valid.
Definition: Exception.h:134
Exception thrown if a file could not be opend.
Definition: Exception.h:60
FileNotFoundException(const std::string &sFileName)
Definition: Exception.h:70
virtual ~InvalidFileException()
Definition: Exception.h:80
Base class for Exception handling in the ICL.
Definition: Exception.h:42
Exception thrown if a function should process an unsupported image depth.
Definition: Exception.h:108
Exception called if an image gets invalid params.
Definition: Exception.h:84
ParseException(const std::string &whatToParse)
Definition: Exception.h:126
Exception thrown if a function should process an unsupported sizes (e.g. with negative dim....
Definition: Exception.h:116
InvalidImgParamException(const std::string ¶m)
Definition: Exception.h:86
ParseException(const std::string &function, const std::string &line, const std::string &hint="")
Definition: Exception.h:128
virtual ~ParseException()
Definition: Exception.h:130
virtual ~InvalidImgParamException()
Definition: Exception.h:88