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

License exception. More...

#include <arcane/impl/FlexLMTools.h>

Inheritance diagram for Arcane::LicenseErrorException:
Collaboration diagram for Arcane::LicenseErrorException:

Public Member Functions

 LicenseErrorException (const String &where)
 LicenseErrorException (const TraceInfo &where)
 LicenseErrorException (const String &where, const String &message)
 LicenseErrorException (const TraceInfo &where, const String &message)
virtual void explain (std::ostream &m) const
 Explains the cause of the exception in the stream o.
virtual void write (std::ostream &o) const
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.
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.

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

License exception.

Definition at line 42 of file FlexLMTools.h.

Constructor & Destructor Documentation

◆ LicenseErrorException() [1/4]

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

Definition at line 39 of file FlexLMTools.cc.

◆ LicenseErrorException() [2/4]

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

Definition at line 59 of file FlexLMTools.cc.

◆ LicenseErrorException() [3/4]

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

Definition at line 49 of file FlexLMTools.cc.

◆ LicenseErrorException() [4/4]

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

Definition at line 69 of file FlexLMTools.cc.

◆ ~LicenseErrorException()

Arcane::LicenseErrorException::~LicenseErrorException ( )
inline

Definition at line 51 of file FlexLMTools.h.

Member Function Documentation

◆ explain()

void Arcane::LicenseErrorException::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 79 of file FlexLMTools.cc.

◆ write()

void Arcane::LicenseErrorException::write ( std::ostream & o) const
virtual

Reimplemented from Arcane::Exception.

Definition at line 89 of file FlexLMTools.cc.


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