head	1.1;
access;
symbols
	bobbase:1.1
	bob:1.1.1;
locks
	thoth:1.1; strict;
comment	@// @;


1.1
date	94.11.30.16.19.07;	author thoth;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.12.08.14.36.23;	author thoth;	state Exp;
branches;
next	;


desc
@Error classes for Point
@


1.1
log
@Initial revision
@
text
@// Emacs -*- C++ -*-

//        Copyright 1993, Center for Computer Vision and Visualization,
//        University of Florida.  All rights reserved.

//
// $Log: Point_h.m4,v $

#ifndef point_errors_h_
#define point_errors_h_

#include "ia.h"

struct Point_CrossProductRequireDimension3_Exception : public GenericException {
  Point_CrossProductRequireDimension3_Exception(const char *fn, int l)
    :GenericException
      ("Point: cross product requires arguments to be of dimension 3", fn, l) {}
};


#endif // point_errors_h_
@


1.1.1.1
log
@Several new error classes for throw rework.
@
text
@d7 1
a7 4
// $Log: point_errors.h,v $
// Revision 1.1  1994/11/30  16:19:07  thoth
// Initial revision
//
a13 18
struct Point_DimensionMismatch_Exception : public GenericException {
    Point_DimensionMismatch_Exception(const char *fn, int l)
	:GenericException
	    ("Point: dimension mismatch in binary operation", fn ,l) { }
};

struct Point_BadIndex_Exception : public GenericException {
    Point_BadIndex_Exception(const char *fn, int l)
	:GenericException
	    ("Point: bad coordinate index", fn ,l) { }
};

struct Point_Uninitialized_Exception : public GenericException {
    Point_Uninitialized_Exception(const char *fn, int l)
	:GenericException
	    ("Point: operation attempted on uninitialized point", fn ,l) { }
};

d15 3
a17 4
    Point_CrossProductRequireDimension3_Exception(const char *fn, int l)
	:GenericException
	    ("Point: cross product requires arguments to be of dimension 3",
	     fn, l) {}
@
