Sha256: b48ebd42e18661dcb0e3b9887b03fbccf53bab9dca7f50347b5b83eba014e976

Contents?: true

Size: 435 Bytes

Versions: 3

Compression:

Stored size: 435 Bytes

Contents

#include "reflex/exception.h"


namespace Reflex
{


	ReflexException::ReflexException (const char* format, ...)
	:	Super("")
	{
		XOT_STRINGF(format, s);
		text = s;
	}

	ReflexException::~ReflexException () throw()
	{
	}

	const char*
	ReflexException::what () const throw()
	{
		return text.c_str();
	}


	void
	reflex_error (const char* format, ...)
	{
		XOT_STRINGF(format, s);
		throw ReflexException(s.c_str());
	}


}// Reflex

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reflexion-0.1.6 src/exception.cpp
reflexion-0.1.5 src/exception.cpp
reflexion-0.1.4 src/exception.cpp