Basic Image AlgorithmS Library
2.8.0
|
clf Exception wrapper, is thrown in case of most clf errors More...
#include <OpenCLFramework/clfException.hh>
Public Member Functions | |
clfException (cl::Error clerror, std::string file, int line) throw () | |
is called by THROW_CL_EXCEPTION macro More... | |
const std::string & | GetDetailedString () const throw () |
detailed combination of all info available More... | |
int | GetErrorCode () const throw () |
clf error code More... | |
const std::string & | GetFileName () const throw () |
file in which error occured More... | |
int | GetLineNumber () const throw () |
line in which error occured More... | |
const std::string & | GetMessageString () const throw () |
clf error message (usually name of failing c function) More... | |
const std::string & | GetReasonString () const throw () |
clf translated error code (todo clean up text) More... | |
virtual const char * | what () const throw () |
virtual | ~clfException () throw () |
clf Exception wrapper, is thrown in case of most clf errors
clf Exceptions are enabled in this library. This class wraps these exceptions and add more information. Almost all functions in the library throw an exception instead of returning error codes, so catch them!
Definition at line 48 of file clfException.hh.
BIAS::clfException::clfException | ( | cl::Error | clerror, |
std::string | file, | ||
int | line | ||
) | |||
throw | ( | ||
) |
is called by THROW_CL_EXCEPTION macro
Definition at line 33 of file clfException.cpp.
|
inlinevirtual |
Definition at line 53 of file clfException.hh.
const std::string & BIAS::clfException::GetDetailedString | ( | ) | const | |
throw | ( | |||
) |
detailed combination of all info available
Definition at line 213 of file clfException.cpp.
Referenced by BIAS::clfFilter< InputStorageType, OutputStorageType >::Clear(), BIAS::clfRadixSort::clfRadixSort(), BIAS::clfUnifiedMultilateralFilter::Compute(), BIAS::clfTrimmedICP::ComputeNearestPoints_(), BIAS::clfFilter< InputStorageType, OutputStorageType >::Filter(), BIAS::clfFilter< InputStorageType, OutputStorageType >::Filter_(), BIAS::clfFilter< InputStorageType, OutputStorageType >::FilterSep_(), BIAS::clfColorConversion::FloatGreyToFloatGrey(), BIAS::clfColorConversion::FloatGreyToRGBA(), BIAS::clfColorConversion::RGBToFloatLuv(), BIAS::clfColorConversion::RGBToGrey(), BIAS::clfColorConversion::RGBToRGBA(), BIAS::clfColorConversion::ScaleColorOfRGBPlusDepth(), BIAS::clfFilter< InputStorageType, OutputStorageType >::SetFilter1D_(), BIAS::clfFilter< InputStorageType, OutputStorageType >::SetFilter_(), BIAS::clfGradientGauss< InputStorageType, OutputStorageType >::SetFilterVert_(), BIAS::clfColorConversion::UCharBayerToRGBA(), BIAS::clfColorConversion::UCharGreyToFloatGrey(), BIAS::clfColorConversion::UCharRGBAToYUV420P(), BIAS::clfColorConversion::UCharRGBDVSToRGBA(), BIAS::clfColorConversion::UCharRGBToFloatGreyNormalized(), BIAS::clfColorConversion::UCharYUYV422DPXToRGBA(), and BIAS::clfColorConversion::UCharYUYV422ToRGBA().
int BIAS::clfException::GetErrorCode | ( | ) | const | |
throw | ( | |||
) |
clf error code
Definition at line 209 of file clfException.cpp.
const std::string & BIAS::clfException::GetFileName | ( | ) | const | |
throw | ( | |||
) |
file in which error occured
Definition at line 207 of file clfException.cpp.
int BIAS::clfException::GetLineNumber | ( | ) | const | |
throw | ( | |||
) |
line in which error occured
Definition at line 208 of file clfException.cpp.
const std::string & BIAS::clfException::GetMessageString | ( | ) | const | |
throw | ( | |||
) |
clf error message (usually name of failing c function)
Definition at line 210 of file clfException.cpp.
Referenced by BIAS::clfGauss< InputStorageType, OutputStorageType >::clfGauss().
const std::string & BIAS::clfException::GetReasonString | ( | ) | const | |
throw | ( | |||
) |
clf translated error code (todo clean up text)
Definition at line 211 of file clfException.cpp.
|
virtual |
Definition at line 215 of file clfException.cpp.