STIR  6.2.0
Namespaces | Functions
error.h File Reference

Declaration of stir::error() More...

#include "stir/common.h"
#include <iostream>
#include <sstream>
#include "TextWriter.h"

Go to the source code of this file.

Namespaces

 stir
 Namespace for the STIR library (and some/most of its applications)
 

Functions

void stir::error (const char *const s,...)
 Print error with format string a la printf and throw exception. More...
 
template<class STRING >
void stir::error (const STRING &string)
 Use this function for writing error messages and throwing an exception. More...
 

Detailed Description

Declaration of stir::error()

Author
Kris Thielemans