Ravelin
UndefinedAxisException.h
1 /****************************************************************************
2  * Copyright 2014 Evan Drumwright
3  * This library is distributed under the terms of the Apache V2.0 License
4  ****************************************************************************/
5 
6 #ifndef _UNDEFINED_AXIS_EXCEPTION_H_
7 #define _UNDEFINED_AXIS_EXCEPTION_H_
8 
9 #include <stdexcept>
10 
11 namespace Ravelin {
12 
14 class UndefinedAxisException : public std::runtime_error
15 {
16  public:
17  UndefinedAxisException() : std::runtime_error("Axis was not defined prior to operation that requires a defined access") {}
18 }; // end class
19 
20 
21 } // end namespace
22 
23 #endif
24 
Exception thrown when axis has not been defined but user calls operation that requires its definition...
Definition: UndefinedAxisException.h:14