/usr/include/dune/pdelab/common/exceptions.hh is in libdune-pdelab-dev 2.0.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_PDELAB_COMMON_EXCEPTIONS_HH
#define DUNE_PDELAB_COMMON_EXCEPTIONS_HH
#include <dune/common/exceptions.hh>
/**
* \file
* \brief PDELab-specific exceptions.
*/
namespace Dune {
namespace PDELab {
//! Base class for all PDELab exceptions.
class Exception
: public Dune::Exception
{};
//! GridFunctionSpace-related error.
class GridFunctionSpaceError
: public Exception
{};
//! Called a GridFunctionSpace method that requires initialization of the space.
class UninitializedGridFunctionSpaceError
: public GridFunctionSpaceError
{};
//! Called a method on a GridFunctionSpace that is not valid
//! at its current place in the function space tree.
class GridFunctionSpaceHierarchyError
: public GridFunctionSpaceError
{};
//! Ordering-related error.
class OrderingError
: public Exception
{};
//! Error related to the logical structure of an Ordering.
class OrderingStructureError
: public OrderingError
{};
//! A PermutedOrdering got a permutation vector of the wrong size.
class PermutedOrderingSizeError
: public OrderingError
{};
} // namespace PDELab
} // namespace Dune
#endif // DUNE_PDELAB_COMMON_EXCEPTIONS_HH
|