Source: raytracer/objectconstructionerror.h


Annotated List
Files
Globals
Hierarchy
Index
/* *************************************************************************
                          objectconstructionerror.h  -  description
                             -------------------
    begin                : Wed Oct 16 2002        
    copyright            : (C) 2002 by Micha Riser
    email                : mriser@gmx.net
 ************************************************************************* */

/* *************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ************************************************************************* */

#ifndef OBJECTCONSTRUCTIONERROR_H
#define OBJECTCONSTRUCTIONERROR_H

#include<string>
using std::string;

/**Error to throw when a problem arises during Object3D creation.
  *@author Micha Riser
  */

class ObjectConstructionError {
public: // Private attributes
    const string message;
  
public: 
    ObjectConstructionError() {}
    /**Create new error.
      *@param s error message
      */
    ObjectConstructionError(string s): message(s) {}
    ~ObjectConstructionError() {}
};

#endif

Generated by: micha@laptop on Thu Oct 24 20:25:24 2002, using kdoc 2.0a53.