text: ﻿// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
  //-----------------------------------------------------------------------------
  // Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
  // See the top-level COPYRIGHT file for details.
  // SPDX-License-Identifier: Apache-2.0
  //-----------------------------------------------------------------------------
  /*---------------------------------------------------------------------------*/
  /* BadOperandException.cc                                      (C) 2000-2018 */
  /*                                                                           */
  /* Exception sur les opérandes des opérations des expressions.               */
  /*---------------------------------------------------------------------------*/
  /*---------------------------------------------------------------------------*/
  
  
  #include "arcane/utils/ArcanePrecomp.h"
  
  #include "arcane/utils/Iostream.h"
  
  #include "arcane/expr/BadOperandException.h"
  
  /*---------------------------------------------------------------------------*/
  /*---------------------------------------------------------------------------*/
  
  ARCANE_BEGIN_NAMESPACE
  
  /*---------------------------------------------------------------------------*/
  /*---------------------------------------------------------------------------*/
  
  BadOperandException::
  BadOperandException(const String& where)
  : Exception("BadOperand", where)
  {
  }
  
  /*---------------------------------------------------------------------------*/
  /*---------------------------------------------------------------------------*/
  
  void BadOperandException::
  explain(std::ostream& m) const
  {
    m << "The type or dimension of one operand is not valid";
  }
  
  /*---------------------------------------------------------------------------*/
  /*---------------------------------------------------------------------------*/
  
  ARCANE_END_NAMESPACE
  
  /*---------------------------------------------------------------------------*/
  /*---------------------------------------------------------------------------*/
  
  
  