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