OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Macros | Functions
myexcept.cpp File Reference
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <ossim/matrix/include.h>
#include <ossim/matrix/myexcept.h>

Go to the source code of this file.

Macros

#define WANT_STREAM
 
#define WANT_STRING
 

Functions

void Terminate ()
 

Macro Definition Documentation

◆ WANT_STREAM

#define WANT_STREAM

Definition at line 6 of file myexcept.cpp.

◆ WANT_STRING

#define WANT_STRING

Definition at line 7 of file myexcept.cpp.

Function Documentation

◆ Terminate()

void Terminate ( )

Definition at line 220 of file myexcept.cpp.

References BaseException::what().

221 {
222  std::cout << "\n\nThere has been an exception with no handler - exiting";
223  const char* what = BaseException::what();
224  if (what) std::cout << what << "\n";
225  exit(1);
226 }
static const char * what()
Definition: myexcept.h:81