Sha256: d868a079946d79a11af9f34cb4ac6304054df7fe29af618118cacf701cf55fc3

Contents?: true

Size: 606 Bytes

Versions: 3

Compression:

Stored size: 606 Bytes

Contents

#include "reflex/exception.h"


#include <xot/string.h>


namespace Reflex
{


	ReflexError::ReflexError (const char* str)
	:	Super(str)
	{
	}


	LayoutError::LayoutError (const char* str)
	:	Super(str)
	{
	}


	namespace ErrorFunctions
	{

		void
		reflex_error (const char* file, int line, const char* format, ...)
		{
			XOT_STRINGF(format, s);
			throw ReflexError(Xot::error_text(file, line, s));
		}

		void
		layout_error (const char* file, int line, const char* format, ...)
		{
			XOT_STRINGF(format, s);
			throw LayoutError(Xot::error_text(file, line, s));
		}

	}// ErrorFunctions


}// Reflex

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reflexion-0.1.12 src/exception.cpp
reflexion-0.1.11 src/exception.cpp
reflexion-0.1.10 src/exception.cpp