Newer
Older
Markus Frank
committed
//==========================================================================
// AIDA Detector description implementation for LCD
Markus Frank
committed
//--------------------------------------------------------------------------
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
Markus Frank
committed
// All rights reserved.
Markus Frank
committed
// For the licensing terms see $DD4hepINSTALL/LICENSE.
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
Markus Frank
committed
// Author : M.Frank
//
//==========================================================================
// Framework include files
#include "DD4hep/Exceptions.h"
#include "DD4hep/Primitives.h"
using namespace std;
using namespace DD4hep;
string unrelated_type_error::msg(const type_info& typ1, const type_info& typ2, const string& text) {
string m = "The types " + typeName(typ1) + " and " + typeName(typ2) + " are not related. " + text;
return m;
}
string unrelated_value_error::msg(const type_info& typ, const string& text) {
string m = "The type " + typeName(typ) + " cannot be converted: " + text;
return m;
}