Reference documentation for deal.II version 9.3.2
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Classes | Namespaces | Macros | Enumerations | Functions | Variables
exceptions.h File Reference
#include <deal.II/base/config.h>
#include <exception>
#include <ostream>
#include <string>
#include <type_traits>
#include <cusolverSp.h>
#include <cusparse.h>

Go to the source code of this file.

Classes

class  ExceptionBase
 
class  StandardExceptions::ExcMPI
 
struct  internal::argument_type< T(U)>
 

Namespaces

 StandardExceptions
 
 deal_II_exceptions
 
 deal_II_exceptions::internals
 
 internal
 

Macros

#define DeclException0(Exception0)
 
#define DeclExceptionMsg(Exception, defaulttext)
 
#define DeclException1(Exception1, type1, outsequence)
 
#define DeclException2(Exception2, type1, type2, outsequence)
 
#define DeclException3(Exception3, type1, type2, type3, outsequence)
 
#define DeclException4(Exception4, type1, type2, type3, type4, outsequence)
 
#define DeclException5( Exception5, type1, type2, type3, type4, type5, outsequence)
 
#define Assert(cond, exc)
 
#define AssertNothrow(cond, exc)
 
#define AssertThrow(cond, exc)
 
#define AssertDimension(dim1, dim2)
 
#define AssertVectorVectorDimension(VEC, DIM1, DIM2)
 
#define AssertIndexRange(index, range)
 
#define AssertIsFinite(number)
 
#define AssertThrowMPI(error_code)    AssertThrow(error_code == MPI_SUCCESS, ::ExcMPI(error_code))
 
#define AssertCuda(error_code)
 
#define AssertNothrowCuda(error_code)
 
#define AssertCudaKernel()
 
#define AssertCusparse(error_code)
 
#define AssertNothrowCusparse(error_code)
 
#define AssertCusolver(error_code)
 

Enumerations

enum  deal_II_exceptions::internals::ExceptionHandling { deal_II_exceptions::internals::abort_or_throw_on_exception , deal_II_exceptions::internals::throw_on_exception }
 

Functions

static ::ExceptionBase & StandardExceptions::ExcDivideByZero ()
 
static ::ExceptionBase & StandardExceptions::ExcNumberNotFinite (std::complex< double > arg1)
 
static ::ExceptionBase & StandardExceptions::ExcOutOfMemory (std::size_t arg1)
 
static ::ExceptionBase & StandardExceptions::ExcMemoryLeak (int arg1)
 
static ::ExceptionBase & StandardExceptions::ExcIO ()
 
static ::ExceptionBase & StandardExceptions::ExcFileNotOpen (std::string arg1)
 
static ::ExceptionBase & StandardExceptions::ExcNotImplemented ()
 
static ::ExceptionBase & StandardExceptions::ExcInternalError ()
 
static ::ExceptionBase & StandardExceptions::ExcPureFunctionCalled ()
 
static ::ExceptionBase & StandardExceptions::ExcNotInitialized ()
 
static ::ExceptionBase & StandardExceptions::ExcInvalidState ()
 
static ::ExceptionBase & StandardExceptions::ExcImpossibleInDim (int arg1)
 
static ::ExceptionBase & StandardExceptions::ExcImpossibleInDimSpacedim (int arg1, int arg2)
 
static ::ExceptionBase & StandardExceptions::ExcZero ()
 
static ::ExceptionBase & StandardExceptions::ExcEmptyObject ()
 
static ::ExceptionBase & StandardExceptions::ExcDimensionMismatch (std::size_t arg1, std::size_t arg2)
 
static ::ExceptionBase & StandardExceptions::ExcDimensionMismatch2 (int arg1, int arg2, int arg3)
 
static ::ExceptionBase & StandardExceptions::ExcIndexRange (int arg1, int arg2, int arg3)
 
template<typename T >
static ::ExceptionBase & StandardExceptions::ExcIndexRangeType (T arg1, T arg2, T arg3)
 
static ::ExceptionBase & StandardExceptions::ExcLowerRange (int arg1, int arg2)
 
template<typename T >
static ::ExceptionBase & StandardExceptions::ExcLowerRangeType (T arg1, T arg2)
 
static ::ExceptionBase & StandardExceptions::ExcNotMultiple (int arg1, int arg2)
 
static ::ExceptionBase & StandardExceptions::ExcInvalidIterator ()
 
static ::ExceptionBase & StandardExceptions::ExcIteratorPastEnd ()
 
static ::ExceptionBase & StandardExceptions::ExcMessage (std::string arg1)
 
static ::ExceptionBase & StandardExceptions::ExcGhostsPresent ()
 
static ::ExceptionBase & StandardExceptions::ExcScalarAssignmentOnlyForZeroValue ()
 
static ::ExceptionBase & StandardExceptions::ExcNeedsLAPACK ()
 
static ::ExceptionBase & StandardExceptions::ExcNeedsMPI ()
 
static ::ExceptionBase & StandardExceptions::ExcNeedsFunctionparser ()
 
static ::ExceptionBase & StandardExceptions::ExcNeedsAssimp ()
 
static ::ExceptionBase & StandardExceptions::ExcCudaError (const char *arg1)
 
static ::ExceptionBase & StandardExceptions::ExcCusparseError (std::string arg1)
 
static ::ExceptionBase & StandardExceptions::ExcNeedsExodusII ()
 
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) noexcept
 
template<class ExceptionType >
void deal_II_exceptions::internals::issue_error_noreturn (ExceptionHandling handling, const char *file, int line, const char *function, const char *cond, const char *exc_name, ExceptionType e)
 
void deal_II_exceptions::internals::do_issue_error_nothrow (const ExceptionBase &e) noexcept
 
template<class ExceptionType >
void deal_II_exceptions::internals::issue_error_nothrow (const char *file, int line, const char *function, const char *cond, const char *exc_name, ExceptionType e) noexcept
 
std::string deal_II_exceptions::internals::get_cusparse_error_string (const cusparseStatus_t error_code)
 
std::string deal_II_exceptions::internals::get_cusolver_error_string (const cusolverStatus_t error_code)
 

Variables

bool deal_II_exceptions::internals::allow_abort_on_exception = true