Arcane
v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
BadCastException.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
/* BadCastException.cc (C) 2000-2016 */
9
/* */
10
/* Exception lorsqu'une conversion est invalide. */
11
/*---------------------------------------------------------------------------*/
12
/*---------------------------------------------------------------------------*/
13
14
#include "arcane/utils/ArcanePrecomp.h"
15
16
#include "arcane/utils/String.h"
17
#include "arcane/utils/BadCastException.h"
18
19
/*---------------------------------------------------------------------------*/
20
/*---------------------------------------------------------------------------*/
21
22
ARCANE_BEGIN_NAMESPACE
23
24
/*---------------------------------------------------------------------------*/
25
/*---------------------------------------------------------------------------*/
26
27
BadCastException::
28
BadCastException(
const
String& awhere)
29
: Exception(
"BadCastException"
,awhere,
"Bad argument"
)
30
{
31
}
32
33
/*---------------------------------------------------------------------------*/
34
/*---------------------------------------------------------------------------*/
35
36
BadCastException::
37
BadCastException(
const
String& awhere,
const
String& amessage)
38
: Exception(
"BadCastException"
,awhere,amessage)
39
{
40
}
41
42
/*---------------------------------------------------------------------------*/
43
/*---------------------------------------------------------------------------*/
44
45
BadCastException::
46
BadCastException(
const
TraceInfo& awhere)
47
: Exception(
"BadCastException"
,awhere,
"Bad argument"
)
48
{
49
}
50
51
/*---------------------------------------------------------------------------*/
52
/*---------------------------------------------------------------------------*/
53
54
BadCastException::
55
BadCastException(
const
TraceInfo& awhere,
const
String& amessage)
56
: Exception(
"BadCastException"
,awhere,amessage)
57
{
58
}
59
60
/*---------------------------------------------------------------------------*/
61
/*---------------------------------------------------------------------------*/
62
63
ARCANE_END_NAMESPACE
64
65
/*---------------------------------------------------------------------------*/
66
/*---------------------------------------------------------------------------*/
67
arcane
utils
BadCastException.cc
Généré le Lundi 18 Novembre 2024 02:56:53 pour Arcane par
1.9.8