14#include "arcane/utils/ArcanePrecomp.h"
16#include "arcane/utils/Iostream.h"
18#include "arcane/expr/BadOperationException.h"
28BadOperationException::
29BadOperationException(
const String& where,
const String& operation_name,
30 VariantBase::eType operand_type)
31: Exception(
"BadOperation",where)
32, m_operation_name(operation_name)
33, m_operand_type(operand_type)
40BadOperationException::
41BadOperationException(
const BadOperationException& ex)
43, m_operation_name(ex.m_operation_name)
44, m_operand_type(ex.m_operand_type)
51void BadOperationException::
52explain(std::ostream& m)
const
54 m <<
"Operation " << m_operation_name
55 <<
" non définie pour le type "
56 << VariantBase::typeName(m_operand_type)