Files
itgmania212121/stepmania/src/RageException.h
T
Glenn Maynard f8916ab31d Do away with LPCTSTR. (We're not making a Unicode build, and if
we were it's not being used everywhere it would need to be.  If we want
Unicode support, that's probably not the way to do it anyway ...)
2002-08-28 07:04:52 +00:00

27 lines
562 B
C++

#pragma once
/*
-----------------------------------------------------------------------------
Class: RageError
Desc: Class for thowing fatal error exceptions
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
-----------------------------------------------------------------------------
*/
#include <exception>
class RageException : exception
{
public:
RageException( const char *fmt, ...);
RageException( HRESULT hr, const char *fmt, ...);
virtual const char *what() const;
protected:
CString m_sError;
};