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

#include <newmat.h>

Inheritance diagram for ProgramException:
Logic_error BaseException

Public Member Functions

 ProgramException (const char *c)
 
 ProgramException (const char *c, const GeneralMatrix &)
 
 ProgramException (const char *c, const GeneralMatrix &, const GeneralMatrix &)
 
 ProgramException (const char *c, MatrixType, MatrixType)
 
- Public Member Functions inherited from Logic_error
 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 Logic_error
static unsigned long Select
 
- Static Public Attributes inherited from BaseException
static unsigned long Select
 

Protected Member Functions

 ProgramException ()
 

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 1643 of file newmat.h.

Constructor & Destructor Documentation

◆ ProgramException() [1/5]

ProgramException::ProgramException ( )
protected

◆ ProgramException() [2/5]

ProgramException::ProgramException ( const char *  c)

Definition at line 97 of file newmatex.cpp.

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

97  : Logic_error()
98 {
100  AddMessage("detected by Newmat: ");
101  AddMessage(c); AddMessage("\n\n");
102  if (c) Tracer::AddTrace();
103 }
static void AddMessage(const char *a_what)
Definition: myexcept.cpp:67
static void AddTrace()
Definition: myexcept.cpp:110
static unsigned long Select
Definition: newmat.h:1648
static unsigned long Select
Definition: myexcept.h:79
Logic_error(const char *a_what=0)
Definition: myexcept.cpp:391

◆ ProgramException() [3/5]

ProgramException::ProgramException ( const char *  c,
const GeneralMatrix A 
)

Definition at line 105 of file newmatex.cpp.

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

106  : Logic_error()
107 {
109  AddMessage("detected by Newmat: ");
110  AddMessage(c); AddMessage("\n\n");
111  MatrixDetails(A);
112  if (c) Tracer::AddTrace();
113 }
static void AddMessage(const char *a_what)
Definition: myexcept.cpp:67
#define A(r, c)
static void AddTrace()
Definition: myexcept.cpp:110
static unsigned long Select
Definition: newmat.h:1648
static unsigned long Select
Definition: myexcept.h:79
Logic_error(const char *a_what=0)
Definition: myexcept.cpp:391

◆ ProgramException() [4/5]

ProgramException::ProgramException ( const char *  c,
const GeneralMatrix A,
const GeneralMatrix B 
)

Definition at line 115 of file newmatex.cpp.

116  : Logic_error()
117 {
119  AddMessage("detected by Newmat: ");
120  AddMessage(c); AddMessage("\n\n");
121  MatrixDetails(A); MatrixDetails(B);
122  if (c) Tracer::AddTrace();
123 }
static void AddMessage(const char *a_what)
Definition: myexcept.cpp:67
#define A(r, c)
static void AddTrace()
Definition: myexcept.cpp:110
static unsigned long Select
Definition: newmat.h:1648
static unsigned long Select
Definition: myexcept.h:79
Logic_error(const char *a_what=0)
Definition: myexcept.cpp:391

◆ ProgramException() [5/5]

ProgramException::ProgramException ( const char *  c,
MatrixType  a,
MatrixType  b 
)

Definition at line 125 of file newmatex.cpp.

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

126  : Logic_error()
127 {
129  AddMessage("detected by Newmat: ");
130  AddMessage(c); AddMessage("\nMatrixTypes = ");
131  AddMessage(a.Value()); AddMessage("; ");
132  AddMessage(b.Value()); AddMessage("\n\n");
133  if (c) Tracer::AddTrace();
134 }
static void AddMessage(const char *a_what)
Definition: myexcept.cpp:67
static void AddTrace()
Definition: myexcept.cpp:110
static unsigned long Select
Definition: newmat.h:1648
const char * Value() const
Definition: newmat1.cpp:111
static unsigned long Select
Definition: myexcept.h:79
Logic_error(const char *a_what=0)
Definition: myexcept.cpp:391

Member Data Documentation

◆ Select

unsigned long ProgramException::Select
static

Definition at line 1648 of file newmat.h.

Referenced by ProgramException().


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