#include <TeException.h>
TePDIBDFilter_test.cpp, TePDIClassification_test.cpp, TePDIColorTransform_test.cpp, TePDICorrelationMatching_test.cpp, TePDIDecorrelationEnhancement_test.cpp, TePDIFFT_test.cpp, TePDIFilterMask_test.cpp, TePDIFusion_test.cpp, TePDIHants_test.cpp, TePDIHaralick_test.cpp, TePDIHistogram_test.cpp, TePDIInterpolator_test.cpp, TePDIJointHistogram_test.cpp, TePDILinearFilter_test.cpp, TePDIMathFunctions_test.cpp, TePDIMatrixFunctions_test.cpp, TePDIMIMatching_test.cpp, TePDIMixModel_test.cpp, TePDIMorfFilter_test.cpp, TePDIParameters_test.cpp, TePDIPrincipalComponents_test.cpp, TePDIRaster2Vector_test.cpp, TePDIRegister_test.cpp, TePDIRgbPalette_test.cpp, TePDISegmentation_test.cpp, TePDISensorSimulator_test.cpp, TePDIStatistic_test.cpp, and TePDIWavelets_test.cpp.
Definition at line 43 of file TeException.h.
Public Member Functions | |
| TeErrorType | code () const |
| string | message () const |
| TeException (TeErrorType msgCode, const string &userText="", bool hasErrno=false) | |
| virtual | ~TeException () |
Protected Attributes | |
| TeErrorType | msgCode_ |
| code associated with TeException | |
| string | userText_ |
| message associated with TeException | |
| TeException::TeException | ( | TeErrorType | msgCode, | |
| const string & | userText = "", |
|||
| bool | hasErrno = false | |||
| ) |
Definition at line 33 of file TeException.cpp.
References TeErrorLog::insert(), TeSingleton< TeErrorLog >::instance(), and userText_.
00033 : 00034 userText_ ( userText ) 00035 { 00036 if ( haserrno ) 00037 userText_ = userText + " " + strerror ( errno ); 00038 00039 TeErrorLog::instance().insert( msgCode, userText_ ); 00040 }
| virtual TeException::~TeException | ( | ) | [inline, virtual] |
| TeErrorType TeException::code | ( | ) | const |
Definition at line 49 of file TeException.cpp.
References msgCode_.
00050 { 00051 return msgCode_; 00052 }
| string TeException::message | ( | ) | const |
Definition at line 43 of file TeException.cpp.
References TeSingleton< TeErrorLog >::instance(), TeErrorLog::message(), msgCode_, and userText_.
Referenced by TePDIAlgorithm::Apply(), TeFirebird::columnExist(), main(), TeFirebird::tableExist(), and testCoverage().
00044 { 00045 return TeErrorLog::instance().message ( msgCode_ ) + " " + userText_; 00046 }
TeErrorType TeException::msgCode_ [protected] |
string TeException::userText_ [protected] |
1.5.3