Arcane  4.2.3.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::ParallelFatalErrorException Class Reference

Exception when a 'parallel' fatal error is generated. More...

#include <arcane/utils/ParallelFatalErrorException.h>

Inheritance diagram for Arcane::ParallelFatalErrorException:
Collaboration diagram for Arcane::ParallelFatalErrorException:

Public Member Functions

 ParallelFatalErrorException (const String &where)
 ParallelFatalErrorException (const TraceInfo &where)
 ParallelFatalErrorException (const String &where, const String &message)
 ParallelFatalErrorException (const TraceInfo &where, const String &message)
 ParallelFatalErrorException (const ParallelFatalErrorException &rhs)
virtual void explain (std::ostream &m) const
 Explains the cause of the exception in the stream o.
Public Member Functions inherited from 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 &)
 Copy constructor.
 ~Exception () ARCCORE_NOEXCEPT override
 Releases resources.
virtual void write (std::ostream &o) const
bool isCollective () const
 True if it is a collective error (concerns all processors).
void setCollective (bool v)
 Sets the collective state of the expression.
void setAdditionalInfo (const String &v)
 Sets the additional information.
const String & additionalInfo () const
 Returns the additional information.
const StackTrace & stackTrace () const
 Call stack at the moment of the exception (requires a stacktrace service).
const String & stackTraceString () const
 Call stack at the moment of the exception (requires a stacktrace service).
const String & message () const
 Exception message.
const String & where () const
 Location of the exception.
const String & name () const
 Name of the exception.

Additional Inherited Members

Static Public Member Functions inherited from Arcane::Exception
static bool hasPendingException ()
 Indicates if there are pending exceptions.
static void staticInit ()
Protected Member Functions inherited from Arcane::Exception
void setMessage (const String &msg)
 Sets the exception message.

Detailed Description

Exception when a 'parallel' fatal error is generated.

A 'parallel' fatal error is a fatal error common to all subdomains. In this case, it is possible to cleanly stop the code

Definition at line 35 of file ParallelFatalErrorException.h.

Constructor & Destructor Documentation

◆ ParallelFatalErrorException() [1/5]

Arcane::ParallelFatalErrorException::ParallelFatalErrorException ( const String & where)

Definition at line 28 of file ParallelFatalErrorException.cc.

◆ ParallelFatalErrorException() [2/5]

Arcane::ParallelFatalErrorException::ParallelFatalErrorException ( const TraceInfo & where)

Definition at line 37 of file ParallelFatalErrorException.cc.

◆ ParallelFatalErrorException() [3/5]

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

Definition at line 46 of file ParallelFatalErrorException.cc.

◆ ParallelFatalErrorException() [4/5]

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

Definition at line 55 of file ParallelFatalErrorException.cc.

◆ ParallelFatalErrorException() [5/5]

Arcane::ParallelFatalErrorException::ParallelFatalErrorException ( const ParallelFatalErrorException & rhs)
inline

Definition at line 44 of file ParallelFatalErrorException.h.

◆ ~ParallelFatalErrorException()

Arcane::ParallelFatalErrorException::~ParallelFatalErrorException ( )
inline

Definition at line 47 of file ParallelFatalErrorException.h.

Member Function Documentation

◆ explain()

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

Explains the cause of the exception in the stream o.

This method allows adding additional information to the exception message.

Reimplemented from Arcane::Exception.

Definition at line 64 of file ParallelFatalErrorException.cc.


The documentation for this class was generated from the following files: