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

Exception lorsqu'un argument est invalide. Plus de détails...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/base/arccore/base/ArgumentException.h>

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

Fonctions membres publiques

 ArgumentException (const String &where)
 ArgumentException (const String &where, const String &message)
 ArgumentException (const TraceInfo &where)
 ArgumentException (const TraceInfo &where, const String &message)
 ArgumentException (const ArgumentException &rhs) ARCCORE_NOEXCEPT
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.

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
virtual void explain (std::ostream &o) const
 Explique la cause de l'exception dans le flot o.
void setMessage (const String &msg)
 Positionne le message de l'exception.

Description détaillée

Exception lorsqu'un argument est invalide.

Définition à la ligne 31 du fichier arccore/src/base/arccore/base/ArgumentException.h.

Documentation des constructeurs et destructeur

◆ ArgumentException() [1/5]

Arcane::ArgumentException::ArgumentException ( const String & where)
explicit

Définition à la ligne 26 du fichier ArgumentException.cc.

◆ ArgumentException() [2/5]

Arcane::ArgumentException::ArgumentException ( const String & where,
const String & message )

Définition à la ligne 35 du fichier ArgumentException.cc.

◆ ArgumentException() [3/5]

Arcane::ArgumentException::ArgumentException ( const TraceInfo & where)
explicit

Définition à la ligne 44 du fichier ArgumentException.cc.

◆ ArgumentException() [4/5]

Arcane::ArgumentException::ArgumentException ( const TraceInfo & where,
const String & message )

Définition à la ligne 53 du fichier ArgumentException.cc.

◆ ArgumentException() [5/5]

Arcane::ArgumentException::ArgumentException ( const ArgumentException & rhs)

Définition à la ligne 62 du fichier ArgumentException.cc.

◆ ~ArgumentException()

Arcane::ArgumentException::~ArgumentException ( )
override

Définition à la ligne 71 du fichier ArgumentException.cc.


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