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