STIR 6.5.0
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

namespace  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.
template<class STRING>
void stir::error (const STRING &string)
 Use this function for writing error messages and throwing an exception.

Detailed Description

Declaration of stir::error().

Author
Kris Thielemans