Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::NotSupportedException Class Reference

Exception when an operation is not supported. More...

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

Inheritance diagram for Arcane::NotSupportedException:
Collaboration diagram for Arcane::NotSupportedException:

Public Member Functions

 NotSupportedException (const String &where)
 NotSupportedException (const String &where, const String &message)
 NotSupportedException (const TraceInfo &where)
 NotSupportedException (const TraceInfo &where, const String &message)
 NotSupportedException (const NotSupportedException &ex) ARCCORE_NOEXCEPT
virtual void explain (std::ostream &m) const
 Explains the cause of the exception in the stream o.
Public Member Functions inherited from Arcane::Exception
Exceptionoperator= (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 StringadditionalInfo () const
 Returns the additional information.
const StackTracestackTrace () const
 Call stack at the moment of the exception (requires a stacktrace service).
const StringstackTraceString () const
 Call stack at the moment of the exception (requires a stacktrace service).
const Stringmessage () const
 Exception message.
const Stringwhere () const
 Location of the exception.
const Stringname () const
 Name of the exception.

Private Attributes

String m_message

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 an operation is not supported.

Definition at line 32 of file arccore/src/base/arccore/base/NotSupportedException.h.

Constructor & Destructor Documentation

◆ NotSupportedException() [1/5]

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

Definition at line 26 of file NotSupportedException.cc.

◆ NotSupportedException() [2/5]

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

Definition at line 35 of file NotSupportedException.cc.

◆ NotSupportedException() [3/5]

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

Definition at line 45 of file NotSupportedException.cc.

◆ NotSupportedException() [4/5]

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

Definition at line 54 of file NotSupportedException.cc.

◆ NotSupportedException() [5/5]

Arcane::NotSupportedException::NotSupportedException ( const NotSupportedException & ex)

Definition at line 64 of file NotSupportedException.cc.

◆ ~NotSupportedException()

Arcane::NotSupportedException::~NotSupportedException ( )
inline

Member Function Documentation

◆ explain()

void Arcane::NotSupportedException::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 74 of file NotSupportedException.cc.

Member Data Documentation

◆ m_message

String Arcane::NotSupportedException::m_message
private

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