theme some common exception strings

This commit is contained in:
Chris Danford
2005-12-20 02:45:25 +00:00
parent 349d7745a6
commit 9cd3b4d4ba
7 changed files with 44 additions and 25 deletions
@@ -19,11 +19,12 @@
#include <X11/extensions/XTest.h>
#endif
static ThemeMetric<CString> FAILED_CONNECTION_XSERVER( "LowLevelWindow_X11", "Failed to establish a connection with the X server'" );
LowLevelWindow_X11::LowLevelWindow_X11()
{
m_bWindowIsOpen = false;
if( !X11Helper::Go() )
RageException::Throw( "Failed to establish a connection with the X server." );
RageException::Throw( FAILED_CONNECTION_XSERVER );
const int iScreen = DefaultScreen( X11Helper::Dpy );