Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ArithmeticException.cc
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.cc (C) 2000-2016 */
9/* */
10/* Exception lorsqu'une erreur arithmétique survient. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/utils/ArcanePrecomp.h"
15
16#include "arcane/utils/String.h"
17#include "arcane/utils/ArithmeticException.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22ARCANE_BEGIN_NAMESPACE
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26
27ArithmeticException::
28ArithmeticException(const TraceInfo& awhere)
29: Exception("ArithmeticException",awhere,"arithmetic or floating error")
30{
31}
32
33/*---------------------------------------------------------------------------*/
34/*---------------------------------------------------------------------------*/
35
36ArithmeticException::
37ArithmeticException(const TraceInfo& awhere,const StackTrace& stack_trace)
38: Exception("ArithmeticException",awhere,"arithmetic or floating error",stack_trace)
39{
40}
41
42/*---------------------------------------------------------------------------*/
43/*---------------------------------------------------------------------------*/
44
45ArithmeticException::
46ArithmeticException(const TraceInfo& awhere,const String& message)
47: Exception("ArithmeticException",awhere,message)
48{
49}
50
51/*---------------------------------------------------------------------------*/
52/*---------------------------------------------------------------------------*/
53
54ArithmeticException::
55ArithmeticException(const TraceInfo& where,const String& message,
56 const StackTrace& stack_trace)
57 : Exception("ArithmeticException",where,message,stack_trace)
58{
59}
60
61/*---------------------------------------------------------------------------*/
62/*---------------------------------------------------------------------------*/
63
64ARCANE_END_NAMESPACE
65
66/*---------------------------------------------------------------------------*/
67/*---------------------------------------------------------------------------*/
68