00001 //-------------------------------------------------- 00012 //--------------------------------------------------- 00013 00014 #include "index_out_of_bounds_exception.h" 00015 00016 namespace imedgine 00017 { 00018 IndexOutOfBoundsException::IndexOutOfBoundsException(std::string detail) 00019 : Exception(INDEX_OUT_OF_BOUNDS_EXCEPTION, detail) 00020 { 00021 } 00022 00023 IndexOutOfBoundsException::IndexOutOfBoundsException(IndexOutOfBoundsException const& src) 00024 : Exception(src) 00025 { 00026 } 00027 00028 00029 IndexOutOfBoundsException::~IndexOutOfBoundsException() throw() 00030 { 00031 } 00032 00033 char const* IndexOutOfBoundsException::what() const throw() 00034 { 00035 return("index out of bounds exception"); 00036 } 00037 }