Exception when a conversion from one type to another is invalid. More...
#include <arccore/base/BadCastException.h>
Public Member Functions | |
| BadCastException (const String &where) | |
| BadCastException (const String &where, const String &message) | |
| BadCastException (const TraceInfo &where) | |
| BadCastException (const TraceInfo &where, const String &message) | |
| 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 | |
| virtual void | explain (std::ostream &o) const |
| Explains the cause of the exception in the stream o. | |
| void | setMessage (const String &msg) |
| Sets the exception message. | |
Exception when a conversion from one type to another is invalid.
Definition at line 32 of file arccore/src/base/arccore/base/BadCastException.h.
|
explicit |
Definition at line 25 of file BadCastException.cc.
Definition at line 34 of file BadCastException.cc.
|
explicit |
Definition at line 43 of file BadCastException.cc.
Definition at line 52 of file BadCastException.cc.