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
22ARCANE_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 */
32class 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);
43 ~ArithmeticException() ARCANE_NOEXCEPT {}
44
45 public:
46
47 ArithmeticException() = delete;
48};
49
50/*---------------------------------------------------------------------------*/
51/*---------------------------------------------------------------------------*/
52
53/*---------------------------------------------------------------------------*/
54/*---------------------------------------------------------------------------*/
55
56ARCANE_END_NAMESPACE
57
58/*---------------------------------------------------------------------------*/
59/*---------------------------------------------------------------------------*/
60
61#endif
62
Exception lorsqu'une erreur arithmétique survient.
Classe de base d'une exception.
Chaîne de caractères unicode.