Sha256: 465c4862eecf5b2d3ca0b0b566c52b5aafa4a2812a87d68c5821789e57da96c6

Contents?: true

Size: 606 Bytes

Versions: 4

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

4 entries across 4 versions & 1 rubygems

Version Path
reflexion-0.1.9.1 src/exception.cpp
reflexion-0.1.9 src/exception.cpp
reflexion-0.1.8 src/exception.cpp
reflexion-0.1.7 src/exception.cpp