OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Static Public Attributes | List of all members
Logic_error Class Reference

#include <myexcept.h>

Inheritance diagram for Logic_error:
BaseException CannotBuildException Domain_error IncompatibleDimensionsException IndexException InternalException Invalid_argument Length_error NotDefinedException NotSquareException Out_of_range ProgramException SubMatrixDimensionException VectorException

Public Member Functions

 Logic_error (const char *a_what=0)
 
- Public Member Functions inherited from BaseException
 BaseException (const char *a_what=0)
 

Static Public Attributes

static unsigned long Select
 
- Static Public Attributes inherited from BaseException
static unsigned long Select
 

Additional Inherited Members

- Static Public Member Functions inherited from BaseException
static void AddMessage (const char *a_what)
 
static void AddInt (int value)
 
static const char * what ()
 
- Static Protected Attributes inherited from BaseException
static char * what_error
 
static int SoFar
 
static int LastOne
 

Detailed Description

Definition at line 345 of file myexcept.h.

Constructor & Destructor Documentation

◆ Logic_error()

Logic_error::Logic_error ( const char *  a_what = 0)

Definition at line 391 of file myexcept.cpp.

References BaseException::AddMessage(), Tracer::AddTrace(), BaseException::Select, and Select.

391  : BaseException()
392 {
394  AddMessage("Logic error:- "); AddMessage(a_what);
395  if (a_what) Tracer::AddTrace();
396 }
static void AddMessage(const char *a_what)
Definition: myexcept.cpp:67
static unsigned long Select
Definition: myexcept.h:348
static void AddTrace()
Definition: myexcept.cpp:110
static unsigned long Select
Definition: myexcept.h:79
BaseException(const char *a_what=0)
Definition: myexcept.cpp:49

Member Data Documentation

◆ Select

unsigned long Logic_error::Select
static

Definition at line 348 of file myexcept.h.

Referenced by Logic_error().


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