Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Classes | Namespaces | Macros | Enumerations | Functions
exceptions.h File Reference
#include <deal.II/base/config.h>
#include <exception>
#include <string>
#include <ostream>
Include dependency graph for exceptions.h:

Go to the source code of this file.

Classes

class  ExceptionBase
 

Namespaces

 deal_II_exceptions
 
 deal_II_exceptions::internals
 
 StandardExceptions
 

Macros

#define Assert(cond, exc)
 
#define AssertNothrow(cond, exc)
 
#define AssertThrow(cond, exc)
 
#define DeclException0(Exception0)   static ::ExceptionBase& Exception0 ()
 
#define DeclException1(Exception1, type1, outsequence)   static ::ExceptionBase& Exception1 (type1 arg1) throw (errortext outsequence)
 
#define DeclException2(Exception2, type1, type2, outsequence)   static ::ExceptionBase& Exception2 (type1 arg1, type2 arg2) throw (errortext outsequence)
 
#define DeclException3(Exception3, type1, type2, type3, outsequence)   static ::ExceptionBase& Exception3 (type1 arg1, type2 arg2, type3 arg3) throw (errortext outsequence)
 
#define DeclException4(Exception4, type1, type2, type3, type4, outsequence)   static ::ExceptionBase& Exception4 (type1 arg1, type2 arg2, type3 arg3, type4 arg4) throw (errortext outsequence)
 
#define DeclException5(Exception5, type1, type2, type3, type4, type5, outsequence)   static ::ExceptionBase& Exception5 (type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5) throw (errortext outsequence)
 
#define AssertDimension(dim1, dim2)
 
#define AssertVectorVectorDimension(vec, dim1, dim2)
 
#define AssertIndexRange(index, range)
 
#define AssertGlobalIndexRange(index, range)
 

Enumerations

enum  deal_II_exceptions::internals::ExceptionHandling { abort_on_exception, throw_on_exception, abort_nothrow_on_exception }
 

Functions

void deal_II_exceptions::set_additional_assert_output (const char *const p)
 
void deal_II_exceptions::suppress_stacktrace_in_exceptions ()
 
void deal_II_exceptions::disable_abort_on_exception ()
 
void deal_II_exceptions::internals::abort (const ExceptionBase &exc, bool nothrow=false)
 
template<class exc >
void deal_II_exceptions::internals::issue_error (ExceptionHandling handling, const char *file, int line, const char *function, const char *cond, const char *exc_name, exc e)
 
::ExceptionBaseStandardExceptions::ExcDivideByZero ()
 
::ExceptionBaseStandardExceptions::ExcNumberNotFinite ()
 
::ExceptionBaseStandardExceptions::ExcOutOfMemory ()
 
::ExceptionBaseStandardExceptions::ExcMemoryLeak (int arg1) throw (errortext << "Destroying memory handler while " << arg1 << " objects are still allocated" )
 
::ExceptionBaseStandardExceptions::ExcIO ()
 
::ExceptionBaseStandardExceptions::ExcFileNotOpen (char *arg1) throw (errortext << "Could not open file " << arg1 )
 
::ExceptionBaseStandardExceptions::ExcNotImplemented ()
 
::ExceptionBaseStandardExceptions::ExcInternalError ()
 
::ExceptionBaseStandardExceptions::ExcPureFunctionCalled ()
 
::ExceptionBaseStandardExceptions::ExcInvalidConstructorCall ()
 
::ExceptionBaseStandardExceptions::ExcNotInitialized ()
 
::ExceptionBaseStandardExceptions::ExcInvalidState ()
 
::ExceptionBaseStandardExceptions::ExcImpossibleInDim (int arg1) throw (errortext << "Impossible in " << arg1 << "d." )
 
::ExceptionBaseStandardExceptions::ExcZero ()
 
::ExceptionBaseStandardExceptions::ExcEmptyObject ()
 
::ExceptionBaseStandardExceptions::ExcDimensionMismatch (std::size_t arg1, std::size_t arg2) throw (errortext << "Dimension " << arg1 << " not equal to " << arg2 )
 
::ExceptionBaseStandardExceptions::ExcDimensionMismatch2 (int arg1, int arg2, int arg3) throw (errortext << "Dimension " << arg1 << " neither equal to " << arg2 << " nor to " << arg3 )
 
::ExceptionBaseStandardExceptions::ExcIndexRange (int arg1, int arg2, int arg3) throw (errortext << "Index " << arg1 << " is not in [" << arg2 << "," << arg3 << "[" )
 
template<typename T >
::ExceptionBaseStandardExceptions::ExcIndexRangeType (T arg1, T arg2, T arg3) throw (errortext << "Index " << arg1 << " is not in [" << arg2 << "," << arg3 << "[" )
 
::ExceptionBaseStandardExceptions::ExcLowerRange (int arg1, int arg2) throw (errortext << "Number " << arg1 << " must be larger or equal " << arg2 )
 
template<typename T >
::ExceptionBaseStandardExceptions::ExcLowerRangeType (T arg1, T arg2) throw (errortext << "Number " << arg1 << " must be larger or equal " << arg2 )
 
::ExceptionBaseStandardExceptions::ExcNotMultiple (int arg1, int arg2) throw (errortext << "Division " << arg1 << " by " << arg2 << " has remainder different from zero" )
 
::ExceptionBaseStandardExceptions::ExcInvalidIterator ()
 
::ExceptionBaseStandardExceptions::ExcIteratorPastEnd ()
 
::ExceptionBaseStandardExceptions::ExcMessage (std::string arg1) throw (errortext << arg1 )
 
::ExceptionBaseStandardExceptions::ExcGhostsPresent ()
 
::ExceptionBaseStandardExceptions::ExcScalarAssignmentOnlyForZeroValue ()
 
::ExceptionBaseStandardExceptions::ExcNeedsLAPACK ()
 
::ExceptionBaseStandardExceptions::ExcNeedsNetCDF ()
 
::ExceptionBaseStandardExceptions::ExcNeedsFunctionparser ()
 

Detailed Description

Here, the deal.II exception handling is located.

Definition in file exceptions.h.

Macro Definition Documentation

#define AssertGlobalIndexRange (   index,
  range 
)
Value:
Assert((index) < (range), \
ExcIndexRange<types::global_dof_index>((index),0,(range)))
#define Assert(cond, exc)
Definition: exceptions.h:299

Definition at line 891 of file exceptions.h.