Last change
on this file since c20eac was 7a8319, checked in by Tillmann Crueger <crueger@…>, 15 years ago |
Added more Exceptions to the project to signal differen Math erorrs
|
-
Property mode
set to
100644
|
File size:
388 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * ZeroVectorException.cpp
|
---|
3 | *
|
---|
4 | * Created on: Apr 30, 2010
|
---|
5 | * Author: crueger
|
---|
6 | */
|
---|
7 |
|
---|
8 | #include "ZeroVectorException.hpp"
|
---|
9 |
|
---|
10 | ZeroVectorException::ZeroVectorException(std::string file, int line) :
|
---|
11 | MathException(file,line)
|
---|
12 | {}
|
---|
13 |
|
---|
14 | ZeroVectorException::~ZeroVectorException() throw ()
|
---|
15 | {}
|
---|
16 |
|
---|
17 | const char* ZeroVectorException::what() const throw()
|
---|
18 | {
|
---|
19 | return "Given vector was a zero Vector.";
|
---|
20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.