Arcane  v3.14.10.0
Documentation développeur
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
22ARCANE_BEGIN_NAMESPACE
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26
27BadCastException::
28BadCastException(const String& awhere)
29: Exception("BadCastException",awhere,"Bad argument")
30{
31}
32
33/*---------------------------------------------------------------------------*/
34/*---------------------------------------------------------------------------*/
35
36BadCastException::
37BadCastException(const String& awhere,const String& amessage)
38: Exception("BadCastException",awhere,amessage)
39{
40}
41
42/*---------------------------------------------------------------------------*/
43/*---------------------------------------------------------------------------*/
44
45BadCastException::
46BadCastException(const TraceInfo& awhere)
47: Exception("BadCastException",awhere,"Bad argument")
48{
49}
50
51/*---------------------------------------------------------------------------*/
52/*---------------------------------------------------------------------------*/
53
54BadCastException::
55BadCastException(const TraceInfo& awhere,const String& amessage)
56: Exception("BadCastException",awhere,amessage)
57{
58}
59
60/*---------------------------------------------------------------------------*/
61/*---------------------------------------------------------------------------*/
62
63ARCANE_END_NAMESPACE
64
65/*---------------------------------------------------------------------------*/
66/*---------------------------------------------------------------------------*/
67