Sha256: 64fdb5284d7b6ef05e90585907264967f1432dc7d9855488293a1ac2bb7a8106

Contents?: true

Size: 953 Bytes

Versions: 3

Compression:

Stored size: 953 Bytes

Contents

// -*- c++ -*-
#pragma once
#ifndef __REFLEX_EXCEPTION_H__
#define __REFLEX_EXCEPTION_H__


#include <xot/exception.h>
#include <reflex/defs.h>


namespace Reflex
{


	class ReflexError : public Xot::XotError
	{
		typedef Xot::XotError Super;
		public: ReflexError (const char* str = NULL);
	};


	class LayoutError : public ReflexError
	{
		typedef ReflexError Super;
		public: LayoutError (const char* str = NULL);
	};


	class PhysicsError : public ReflexError
	{
		typedef ReflexError Super;
		public: PhysicsError (const char* str = NULL);
	};


	namespace ErrorFunctions
	{

		using namespace Xot::ErrorFunctions;

		void reflex_error (const char* file, int line, const char* format = NULL, ...);

		void layout_error (const char* file, int line, const char* format = NULL, ...);

		void physics_error (const char* file, int line, const char* format = NULL, ...);

	}// ErrorFunctions


	using namespace ErrorFunctions;


}// Reflex


#endif//EOH

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reflexion-0.1.15 include/reflex/exception.h
reflexion-0.1.14 include/reflex/exception.h
reflexion-0.1.13 include/reflex/exception.h