-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
-#include "except.h"
+#include <msp/strings/format.h>
#include "pixelformat.h"
using namespace std;
case Graphics::RGBA: return RGBA;
case Graphics::BGR: return BGR;
case Graphics::BGRA: return BGRA;
- default: throw InvalidParameterValue("Unknown Graphics::PixelFormat");
+ default: throw invalid_argument("pixelformat_from_graphics");
}
}