Image Component Library (ICL)
Classes | Namespaces | Macros
Exception.h File Reference
#include <ICLUtils/CompatMacros.h>
#include <iostream>
#include <exception>
#include <string>
#include <stdexcept>

Go to the source code of this file.

Classes

class  icl::utils::ICLException
 Base class for Exception handling in the ICL. More...
 
class  icl::utils::InvalidFileFormatException
 Exception for invalid file formats. More...
 
class  icl::utils::FileOpenException
 Exception thrown if a file could not be opend. More...
 
class  icl::utils::FileNotFoundException
 Exception thrown if a file could not be found. More...
 
class  icl::utils::InvalidFileException
 Exception thrown if a file could not be read properly. More...
 
class  icl::utils::InvalidImgParamException
 Exception called if an image gets invalid params. More...
 
class  icl::utils::InvalidFormatException
 Exception thrown if a function should process an unsupported image format. More...
 
class  icl::utils::InvalidDepthException
 Exception thrown if a function should process an unsupported image depth. More...
 
class  icl::utils::InvalidNumChannelException
 Exception thrown if a function should process an unsupported image depth. More...
 
class  icl::utils::InvalidSizeException
 Exception thrown if a function should process an unsupported sizes (e.g. with negative dim..) More...
 
class  icl::utils::ParseException
 Exception thrown if a string is parsed into a specific type (or something) More...
 
class  icl::utils::InvalidRegularExpressionException
 Thrown by iclStringUtils::match if regular Expression is not valid. More...
 

Namespaces

 icl
 undocument this line if you encounter any issues!
 
 icl::utils
 

Macros

#define ICL_FILE_LOCATION   (std::string(__FUNCTION__) + "(" + __FILE__ + ")")
 
#define ICL_INVALID_FORMAT   throw InvalidFormatException(ICL_FILE_LOCATION)
 
#define ICL_INVALID_DEPTH   throw InvalidDepthException(ICL_FILE_LOCATION)
 

Macro Definition Documentation

◆ ICL_FILE_LOCATION

#define ICL_FILE_LOCATION   (std::string(__FUNCTION__) + "(" + __FILE__ + ")")

◆ ICL_INVALID_DEPTH

#define ICL_INVALID_DEPTH   throw InvalidDepthException(ICL_FILE_LOCATION)

◆ ICL_INVALID_FORMAT

#define ICL_INVALID_FORMAT   throw InvalidFormatException(ICL_FILE_LOCATION)