Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ArgumentException.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/* ArgumentException.cc (C) 2000-2018 */
9/* */
10/* Exception lorsqu'un argument est invalide. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arccore/base/String.h"
15#include "arccore/base/ArgumentException.h"
16
17/*---------------------------------------------------------------------------*/
18/*---------------------------------------------------------------------------*/
19
20namespace Arccore
21{
22
23/*---------------------------------------------------------------------------*/
24/*---------------------------------------------------------------------------*/
25
26ArgumentException::
27ArgumentException(const String& awhere)
28: Exception("ArgumentException",awhere,"Bad argument")
29{
30}
31
32/*---------------------------------------------------------------------------*/
33/*---------------------------------------------------------------------------*/
34
35ArgumentException::
36ArgumentException(const String& awhere,const String& amessage)
37: Exception("ArgumentException",awhere,amessage)
38{
39}
40
41/*---------------------------------------------------------------------------*/
42/*---------------------------------------------------------------------------*/
43
44ArgumentException::
45ArgumentException(const TraceInfo& awhere)
46: Exception("ArgumentException",awhere,"Bad argument")
47{
48}
49
50/*---------------------------------------------------------------------------*/
51/*---------------------------------------------------------------------------*/
52
53ArgumentException::
54ArgumentException(const TraceInfo& awhere,const String& amessage)
55: Exception("ArgumentException",awhere,amessage)
56{
57}
58
59/*---------------------------------------------------------------------------*/
60/*---------------------------------------------------------------------------*/
61
62ArgumentException::
63ArgumentException(const ArgumentException& rhs) ARCCORE_NOEXCEPT
64: Exception(rhs)
65{
66}
67
68/*---------------------------------------------------------------------------*/
69/*---------------------------------------------------------------------------*/
70
71ArgumentException::
72~ArgumentException() ARCCORE_NOEXCEPT
73{
74}
75
76/*---------------------------------------------------------------------------*/
77/*---------------------------------------------------------------------------*/
78
79} // End namespace Arccore
80
81/*---------------------------------------------------------------------------*/
82/*---------------------------------------------------------------------------*/
83
Espace de nom de Arccore.
Definition ArcaneTypes.h:24