Arcane
v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
ArithmeticException.h
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4
// See the top-level COPYRIGHT file for details.
5
// SPDX-License-Identifier: Apache-2.0
6
//-----------------------------------------------------------------------------
7
/*---------------------------------------------------------------------------*/
8
/* ArithmeticException.h (C) 2000-2014 */
9
/* */
10
/* Exception lorsqu'une erreur arithmétique survient. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_UTILS_ARITHMETICEXCEPTION_H
13
#define ARCANE_UTILS_ARITHMETICEXCEPTION_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/utils/Exception.h"
18
19
/*---------------------------------------------------------------------------*/
20
/*---------------------------------------------------------------------------*/
21
22
ARCANE_BEGIN_NAMESPACE
23
24
/*---------------------------------------------------------------------------*/
25
/*---------------------------------------------------------------------------*/
26
/*!
27
* \ingroup Core
28
* \brief Exception lorsqu'une erreur arithmétique survient.
29
*
30
* Cette exception survient notamment lorsqu'un signal SIGFPE survient
31
*/
32
class
ARCANE_UTILS_EXPORT
ArithmeticException
33
:
public
Exception
34
{
35
public
:
36
37
ArithmeticException
(
const
TraceInfo
& where);
38
ArithmeticException
(
const
TraceInfo
& where,
const
String
& message);
39
ArithmeticException
(
const
TraceInfo
& where,
const
StackTrace
& stack_trace);
40
ArithmeticException
(
const
TraceInfo
& where,
const
String
& message,
41
const
StackTrace
& stack_trace);
42
ArithmeticException
(
const
ArithmeticException
& ex) :
Exception
(ex){}
43
~ArithmeticException
() ARCANE_NOEXCEPT {}
44
45
public
:
46
47
ArithmeticException
() =
delete
;
48
};
49
50
/*---------------------------------------------------------------------------*/
51
/*---------------------------------------------------------------------------*/
52
53
/*---------------------------------------------------------------------------*/
54
/*---------------------------------------------------------------------------*/
55
56
ARCANE_END_NAMESPACE
57
58
/*---------------------------------------------------------------------------*/
59
/*---------------------------------------------------------------------------*/
60
61
#endif
62
Arcane::ArithmeticException
Exception lorsqu'une erreur arithmétique survient.
Definition
ArithmeticException.h:34
Arccore::Exception
Classe de base d'une exception.
Definition
arccore/src/base/arccore/base/Exception.h:48
Arccore::StackTrace
Definition
arccore/src/base/arccore/base/StackTrace.h:86
Arccore::String
Chaîne de caractères unicode.
Definition
arccore/src/base/arccore/base/String.h:70
Arccore::TraceInfo
Informations de trace.
Definition
arccore/src/base/arccore/base/TraceInfo.h:33
arcane
utils
ArithmeticException.h
Généré le Lundi 18 Novembre 2024 02:56:52 pour Arcane par
1.9.8