12#ifndef ARCANE_CORE_ARCANEEXCEPTION_H
13#define ARCANE_CORE_ARCANEEXCEPTION_H
17#include "arcane/utils/Exception.h"
18#include "arcane/utils/String.h"
60 void explain(std::ostream& m)
const override;
93 void explain(std::ostream& m)
const override;
107class ARCANE_CORE_EXPORT InternalErrorException
114 InternalErrorException(
const InternalErrorException& ex) ARCANE_NOEXCEPT;
115 ~InternalErrorException() ARCANE_NOEXCEPT
override {}
119 void explain(std::ostream& m)
const override;
136class ARCANE_CORE_EXPORT BadVariableKindTypeException
143 ~BadVariableKindTypeException() ARCANE_NOEXCEPT
override {}
147 void explain(std::ostream& m)
const override;
167class ARCANE_CORE_EXPORT BadPartialVariableItemGroupNameException
173 const String& item_group_name);
174 ~BadPartialVariableItemGroupNameException() ARCANE_NOEXCEPT
override {}
178 void explain(std::ostream& m)
const override;
193class ARCANE_CORE_EXPORT UnknownItemTypeException
199 UnknownItemTypeException(
const UnknownItemTypeException& ex) ARCANE_NOEXCEPT;
200 ~UnknownItemTypeException() ARCANE_NOEXCEPT
override {}
204 void explain(std::ostream& m)
const override;
219class ARCANE_CORE_EXPORT BadReferenceException
224 explicit BadReferenceException(
const String&
where);
225 ~BadReferenceException() ARCANE_NOEXCEPT
override {}
229 void explain(std::ostream& m)
const override;
241class ARCANE_CORE_EXPORT ReaderWriterException
248 ReaderWriterException(
const ReaderWriterException& ex) ARCANE_NOEXCEPT;
249 ~ReaderWriterException() ARCANE_NOEXCEPT
override {}
253 void explain(std::ostream& m)
const override;
281 void explain(std::ostream& m)
const override;
284 const char*
file()
const {
return m_file; }
287 int line()
const {
return m_line; }
Declarations of Arcane's general types.
const String & where() const
Location of the exception.
const char * file() const
File of the exception.
int line() const
Line of the exception.
void explain(std::ostream &m) const override
Explains the cause of the exception in the stream o.
AssertionException(const TraceInfo &where)
BadIDException(const String &where, const String &invalid_name)
void explain(std::ostream &m) const override
Explains the cause of the exception in the stream o.
BadItemIdException(const String &where, Integer bad_id)
Constructs an exception.
void explain(std::ostream &m) const override
Explains the cause of the exception in the stream o.
void explain(std::ostream &m) const override
Explains the cause of the exception in the stream o.
void explain(std::ostream &m) const override
Explains the cause of the exception in the stream o.
void explain(std::ostream &m) const override
Explains the cause of the exception in the stream o.
const String & where() const
Location of the exception.
const String & message() const
Exception message.
Exception(const String &name, const String &where)
void explain(std::ostream &m) const override
Explains the cause of the exception in the stream o.
void explain(std::ostream &m) const override
Explains the cause of the exception in the stream o.
Unicode character string.
void explain(std::ostream &m) const override
Explains the cause of the exception in the stream o.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
eItemKind
Mesh entity type.