1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
// -*- C++ -*-
//
// Direction.cc is a part of ThePEG - Toolkit for HEP Event Generation
// Copyright (C) 1999-2011 Leif Lonnblad
//
// ThePEG is licenced under version 2 of the GPL, see COPYING for details.
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
//
//
// This is the implementation of the non-inlined, non-templated member
// functions of the Direction class.
//
#include "Direction.h"
using namespace ThePEG;
MultipleDirectionException::MultipleDirectionException(int i) {
theMessage << "Attempted to instantiate a second object of the Direction<"
<< i << ">. This is intolerable!";
severity(abortnow);
}
UndefinedDirectionException::UndefinedDirectionException(int i) {
theMessage << "Attempted to use/create a Direction<"
<< i << "> object with undefined direction. This is intolerable!";
severity(abortnow);
}
|