dune-vtk
0.2
dune-vtk-38f79c23ef8f29210d41353a8380e42b78422f2f
dune
vtk
utility
errors.hh
Go to the documentation of this file.
1
#pragma once
2
3
#include <dune/common/exceptions.hh>
4
10
namespace
Dune
{
11
12
class
VtkError
:
public
Exception {};
13
14
}
15
19
#define VTK_ASSERT_MSG(cond, text) \
20
do { \
21
if (!(cond)) \
22
DUNE_THROW(Dune::VtkError, text); \
23
} while (false)
24
25
29
#define VTK_ASSERT(cond) \
30
do { \
31
if (!(cond)) \
32
DUNE_THROW(Dune::VtkError, #cond); \
33
} while (false)
Dune
Definition:
writer.hh:13
Dune::VtkError
Definition:
errors.hh:12
Generated by
1.9.1