Arcane  4.2.1.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Référence de la classe Arcane::InvalidArgumentException

Exception lorsqu'une erreur fatale est survenue. Plus de détails...

#include <arcane/utils/InvalidArgumentException.h>

Graphe d'héritage de Arcane::InvalidArgumentException:
Graphe de collaboration de Arcane::InvalidArgumentException:

Fonctions membres publiques

 InvalidArgumentException (const TraceInfo &where, const String &arg_name, int arg)
 InvalidArgumentException (const TraceInfo &where, const String &arg_name, double arg)
 InvalidArgumentException (const TraceInfo &where, const String &arg_name, const String &arg)
 InvalidArgumentException (const TraceInfo &where, const String &arg_name, const void *arg)
 InvalidArgumentException (const TraceInfo &where, const String &arg_name, const String &message, int arg)
 InvalidArgumentException (const TraceInfo &where, const String &arg_name, const String &message, double arg)
 InvalidArgumentException (const TraceInfo &where, const String &arg_name, const String &message, const String &arg)
 InvalidArgumentException (const TraceInfo &where, const String &arg_name, const String &message, const void *arg)
 InvalidArgumentException (const InvalidArgumentException &ex)
virtual void explain (std::ostream &m) const
 Explique la cause de l'exception dans le flot o.
Fonctions membres publiques hérités de Arcane::Exception
Exception & operator= (const Exception &)=delete
 Exception (const String &name, const String &where)
 Exception (const String &name, const TraceInfo &where)
 Exception (const String &name, const String &awhere, const String &message)
 Exception (const String &name, const TraceInfo &trace, const String &message)
 Exception (const String &name, const String &where, const StackTrace &stack_trace)
 Exception (const String &name, const TraceInfo &where, const StackTrace &stack_trace)
 Exception (const String &name, const String &where, const String &message, const StackTrace &stack_trace)
 Exception (const String &name, const TraceInfo &trace, const String &message, const StackTrace &stack_trace)
 Exception (const Exception &)
 Constructeur par copie.
 ~Exception () ARCCORE_NOEXCEPT override
 Libère les ressources.
virtual void write (std::ostream &o) const
bool isCollective () const
 Vrai s'il s'agit d'une erreur collective (concerne tous les processeurs).
void setCollective (bool v)
 Positionne l'état collectif de l'expression.
void setAdditionalInfo (const String &v)
 Positionne les infos supplémentaires.
const String & additionalInfo () const
 Retourne les infos supplémentaires.
const StackTrace & stackTrace () const
 Pile d'appel au moment de l'exception (nécessite un service de stacktrace).
const String & stackTraceString () const
 Pile d'appel au moment de l'exception (nécessite un service de stacktrace).
const String & message () const
 Message de l'exception.
const String & where () const
 Localisation de l'exception.
const String & name () const
 Nom de l'exception.

Fonctions membres privées

template<typename U>
void _init (const U &arg_value)

Attributs privés

String m_arg_name
String m_arg_value
String m_message

Membres hérités additionnels

Fonctions membres publiques statiques hérités de Arcane::Exception
static bool hasPendingException ()
 Indique si des exceptions sont en cours.
static void staticInit ()
Fonctions membres protégées hérités de Arcane::Exception
void setMessage (const String &msg)
 Positionne le message de l'exception.

Description détaillée

Exception lorsqu'une erreur fatale est survenue.

Définition à la ligne 29 du fichier InvalidArgumentException.h.

Documentation des constructeurs et destructeur

◆ InvalidArgumentException() [1/9]

Arcane::InvalidArgumentException::InvalidArgumentException ( const TraceInfo & where,
const String & arg_name,
int arg )

Définition à la ligne 28 du fichier InvalidArgumentException.cc.

◆ InvalidArgumentException() [2/9]

Arcane::InvalidArgumentException::InvalidArgumentException ( const TraceInfo & where,
const String & arg_name,
double arg )

Définition à la ligne 40 du fichier InvalidArgumentException.cc.

◆ InvalidArgumentException() [3/9]

Arcane::InvalidArgumentException::InvalidArgumentException ( const TraceInfo & where,
const String & arg_name,
const String & arg )

Définition à la ligne 52 du fichier InvalidArgumentException.cc.

◆ InvalidArgumentException() [4/9]

Arcane::InvalidArgumentException::InvalidArgumentException ( const TraceInfo & where,
const String & arg_name,
const void * arg )

Définition à la ligne 64 du fichier InvalidArgumentException.cc.

◆ InvalidArgumentException() [5/9]

Arcane::InvalidArgumentException::InvalidArgumentException ( const TraceInfo & where,
const String & arg_name,
const String & message,
int arg )

Définition à la ligne 76 du fichier InvalidArgumentException.cc.

◆ InvalidArgumentException() [6/9]

Arcane::InvalidArgumentException::InvalidArgumentException ( const TraceInfo & where,
const String & arg_name,
const String & message,
double arg )

Définition à la ligne 90 du fichier InvalidArgumentException.cc.

◆ InvalidArgumentException() [7/9]

Arcane::InvalidArgumentException::InvalidArgumentException ( const TraceInfo & where,
const String & arg_name,
const String & message,
const String & arg )

Définition à la ligne 104 du fichier InvalidArgumentException.cc.

◆ InvalidArgumentException() [8/9]

Arcane::InvalidArgumentException::InvalidArgumentException ( const TraceInfo & where,
const String & arg_name,
const String & message,
const void * arg )

Définition à la ligne 118 du fichier InvalidArgumentException.cc.

◆ InvalidArgumentException() [9/9]

Arcane::InvalidArgumentException::InvalidArgumentException ( const InvalidArgumentException & ex)

Définition à la ligne 132 du fichier InvalidArgumentException.cc.

◆ ~InvalidArgumentException()

Arcane::InvalidArgumentException::~InvalidArgumentException ( )
inline

Définition à la ligne 46 du fichier InvalidArgumentException.h.

Documentation des fonctions membres

◆ _init()

template<typename U>
void Arcane::InvalidArgumentException::_init ( const U & arg_value)
private

Définition à la ligne 144 du fichier InvalidArgumentException.cc.

◆ explain()

void Arcane::InvalidArgumentException::explain ( std::ostream & o) const
virtual

Explique la cause de l'exception dans le flot o.

Cette méthode permet d'ajouter des informations supplémentaires au message d'exception.

Réimplémentée à partir de Arcane::Exception.

Définition à la ligne 156 du fichier InvalidArgumentException.cc.

Documentation des données membres

◆ m_arg_name

String Arcane::InvalidArgumentException::m_arg_name
private

Définition à la ligne 54 du fichier InvalidArgumentException.h.

◆ m_arg_value

String Arcane::InvalidArgumentException::m_arg_value
private

Définition à la ligne 55 du fichier InvalidArgumentException.h.

◆ m_message

String Arcane::InvalidArgumentException::m_message
private

Définition à la ligne 56 du fichier InvalidArgumentException.h.


La documentation de cette classe a été générée à partir des fichiers suivants :