Sha256: 41aabcddca9bcc6477b645b72a1488d93d5194ff68c4c09da312b9c88fb1e56d

Contents?: true

Size: 599 Bytes

Versions: 3

Compression:

Stored size: 599 Bytes

Contents

#include "beeps/exception.h"


#include <xot/string.h>


namespace Beeps
{


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


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


	namespace ErrorFunctions
	{

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

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

	}// ErrorFunctions


}// Beeps

Version data entries

3 entries across 3 versions & 1 rubygems

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