Sha256: d89b9b7ae70aa6c44a249f32352e4afbd30a8fff0bfb8dc269611291402f3ecd

Contents?: true

Size: 503 Bytes

Versions: 3

Compression:

Stored size: 503 Bytes

Contents

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


#include <stdexcept>
#include <rays/defs.h>


namespace Rays
{


	class RaysException : public std::runtime_error
	{

		typedef std::runtime_error Super;

		public:

			RaysException (const char* format = NULL, ...);

			~RaysException () throw();

			const char* what () const throw();

		private:

			String text;

	};// RaysException


	void rays_error (const char* format = NULL, ...);


}// Rays


#endif//EOH

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rays-0.1.6 include/rays/exception.h
rays-0.1.5 include/rays/exception.h
rays-0.1.4 include/rays/exception.h