KSquare Utilities
KKB::KKException Class Reference

#include <KKException.h>

+ Inheritance diagram for KKB::KKException:

Public Member Functions

 KKException ()
 
 KKException (const KKException &_exception)
 
 KKException (const KKStr &_exceptionStr)
 
 KKException (const char *_exceptionStr)
 
 KKException (const KKStr &_exceptionStr, const std::exception &_innerException)
 
 KKException (const char *_exceptionStr, const std::exception &_innerException)
 
 KKException (const char *_exceptionStr, const KKException &_innerException)
 
 KKException (const KKStr &_exceptionStr, const KKException &_innerException)
 
virtual ~KKException () throw ()
 
virtual const KKStrToString () const
 
virtual const char * what () const throw ()
 

Detailed Description

Definition at line 27 of file KKException.h.

Constructor & Destructor Documentation

KKException::KKException ( )

Definition at line 25 of file KKException.cpp.

References KKException().

Referenced by KKException().

25  :
26  std::exception ()
27 {
28 }
KKException::KKException ( const KKException _exception)

Definition at line 31 of file KKException.cpp.

References KKException(), and KKB::KKStr::KKStr().

Referenced by KKException().

31  :
32  std::exception (),
33  exceptionStr (_exception.exceptionStr)
34 {
35 }
KKException::KKException ( const KKStr _exceptionStr)

Definition at line 45 of file KKException.cpp.

References KKException(), and KKB::KKStr::KKStr().

Referenced by KKMLL::FileDesc::AddANominalValue(), KKMLL::FeatureVector::AddFeatureData(), KKB::MsgQueue::AddMsg(), KKB::RasterBuffer::AddRaster(), KKB::KKStr::Append(), KKMLL::GrayScaleImagesFVList::BackOfQueue(), KKB::KKStrList::BinarySearch(), KKB::BitString::BitString(), KKB::BmpImage::BlueRow(), KKMLL::FileDesc::Cardinality(), KKMLL::Classifier2::Classifier2(), KKMLL::Model::CreateAModel(), KKMLL::FeatureEncoder::CreateEncodedFileDesc(), KKB::BmpImage::CodedPixels::CreatePixelDataStructure8Bit(), KKB::Matrix::DeterminantSlow(), KKMLL::FeatureEncoder::EncodeAExample(), KKB::GoalKeeperSimple::EndBlock(), KKB::Raster::ExtractBlobs(), KKMLL::FeatureVectorList::FeatureVectorList(), KKMLL::SVMModel::FindWorstSupportVectors(), KKMLL::SVMModel::FindWorstSupportVectors2(), KKB::KKStr::FreeUpUnUsedSpace(), KKMLL::FileDesc::GetExistingFileDesc(), KKMLL::GrayScaleImagesFVList::GrayScaleImagesFVList(), KKB::Raster::Histogram(), KKB::BmpImage::ImageRow(), KKB::Matrix::Inverse(), KKException(), KKB::KKStr::KKStr(), KKB::KKStr::LeftPad(), KKB::BitString::ListOfSetBits16(), KKB::Matrix::Matrix(), KKB::Matrix::operator*(), KKB::Matrix::operator+(), KKB::Matrix::operator+=(), KKB::Matrix::operator-(), KKB::KKStr::operator=(), KKB::Matrix::operator[](), KKMLL::FeatureNumList::operator[](), KKMLL::ModelOldSVM::Param(), KKMLL::GrayScaleImagesFVList::PopFromBack(), KKMLL::ModelSvmBase::Predict(), KKMLL::ModelUsfCasCor::Predict(), KKMLL::SVMModel::Predict(), KKMLL::ClassificationBiasMatrix::PrintAdjustedResults(), KKMLL::ClassificationBiasMatrix::PrintBiasMatrix(), KKMLL::ModelKnn::ProbabilitiesByClass(), KKMLL::ModelSvmBase::ProbabilitiesByClass(), KKMLL::ModelUsfCasCor::ProbabilitiesByClass(), KKMLL::ModelOldSVM::ProbabilitiesByClass(), KKMLL::ClassProbList::PushOnBack(), KKMLL::BinaryClassParmsList::PushOnBack(), KKMLL::FeatureVectorList::PushOnBack(), KKMLL::ClassProbList::PushOnFront(), KKMLL::BinaryClassParmsList::PushOnFront(), KKMLL::FeatureVectorList::PushOnFront(), KKB::Raster::Raster(), KKB::BmpImage::RedRow(), KKB::XmlFactoryManager::RegisterFactory(), KKB::XmlFactory::RegisterFactory(), KKMLL::FeatureVectorList::ResetFileDesc(), KKMLL::FeatureVector::ResetNumOfFeatures(), KKMLL::FeatureVectorList::ReSyncSymbolicData(), KKB::KKStr::RightPad(), KKB::Row::Row(), KKB::BmpImage::Save(), KKB::BmpImage::SaveGrayscaleInverted4Bit(), KKB::BmpImage::SaveGrayscaleInverted8Bit(), KKB::SaveImage(), KKB::SaveImageGrayscaleInverted4Bit(), KKB::SaveImageGrayscaleInverted8Bit(), KKB::SaveImagePNG(), KKB::SaveImagePPM(), SVM233::svm_GetSupportVectorStatistics(), SVM289_BFS::svm_train_one(), SVM289_MFS::svm_train_one(), KKMLL::TrainingConfiguration2::SVMparamREF(), KKMLL::FeatureVectorList::SynchronizeSymbolicData(), KKB::tqli(), KKMLL::ModelUsfCasCor::TrainModel(), KKMLL::ModelSvmBase::TrainModel(), KKMLL::ModelDual::TrainModel(), KKMLL::ModelOldSVM::TrainModel(), KKMLL::Model::TrainModel(), and KKB::Tred2().

45  :
46  std::exception (),
47  exceptionStr (_exceptionStr)
48 {
49 }
KKException::KKException ( const KKStr _exceptionStr,
const std::exception &  _innerException 
)

Definition at line 52 of file KKException.cpp.

References KKException(), and KKB::KKStr::KKStr().

Referenced by KKException(), KKMLL::ClassificationBiasMatrix::PrintAdjustedResults(), KKMLL::ModelUsfCasCor::TrainModel(), KKMLL::ModelSvmBase::TrainModel(), and KKMLL::ModelDual::TrainModel().

54  :
55  std::exception (_innerException),
56  exceptionStr ()
57 {
58  exceptionStr << _exceptionStr << endl
59  << _innerException.what ();
60 }
HTMLReport &__cdecl endl(HTMLReport &htmlReport)
Definition: HTMLReport.cpp:240
KKException::KKException ( const char *  _exceptionStr,
const std::exception &  _innerException 
)

Definition at line 64 of file KKException.cpp.

67 {
68  exceptionStr << _exceptionStr << endl
69  << _innerException.what ();
70 }
HTMLReport &__cdecl endl(HTMLReport &htmlReport)
Definition: HTMLReport.cpp:240
KKException::KKException ( const char *  _exceptionStr,
const KKException _innerException 
)

Definition at line 74 of file KKException.cpp.

References KKException(), and KKB::KKStr::KKStr().

Referenced by KKMLL::Model::CreateAModel(), and KKException().

76  :
77  std::exception (_innerException),
78  exceptionStr (_exceptionStr)
79 {
80 }
KKException::KKException ( const KKStr _exceptionStr,
const KKException _innerException 
)
KKException::~KKException ( )
throw (
)
virtual

Definition at line 93 of file KKException.cpp.

94 {
95 }

Member Function Documentation

const KKStr & KKException::ToString ( ) const
virtual

Definition at line 98 of file KKException.cpp.

Referenced by KKB::ThreadStartCallBack().

99 {
100  return exceptionStr;
101 }
const char * KKException::what ( ) const
throw (
)
virtual

Definition at line 104 of file KKException.cpp.

References KKB::KKStr::Str().

105 {
106  return exceptionStr.Str ();
107 }
const char * Str() const
Returns a pointer to a ascii string.
Definition: KKStr.h:422

The documentation for this class was generated from the following files: