-/* $Id$
-
-This file is part of R²C²
-Copyright © 2006-2011 Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
#include <cmath>
#include "trackpart.h"
TrackPart *TrackPart::get_link(unsigned i) const
{
if(i>=2)
- throw InvalidParameterValue("Index out of range");
+ throw out_of_range("TrackPart::get_link");
return links[i];
}