00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00013
00014 #if !defined(AFX_ARRAYINDEXOUTOFBOUNDSEXCEPTION_H__7DA09EF6_508D_4905_B151_E6D5AEA773A2__INCLUDED_)
00015 #define AFX_ARRAYINDEXOUTOFBOUNDSEXCEPTION_H__7DA09EF6_508D_4905_B151_E6D5AEA773A2__INCLUDED_
00016
00017 #if _MSC_VER > 1000
00018 #pragma once
00019 #endif // _MSC_VER > 1000
00020
00021 #include "Exception.h"
00022
00023 namespace Mers {
00024 namespace Utils {
00025 namespace Exceptions {
00026
00033 class ArrayIndexOutOfBoundsException : public Exception
00034 {
00035 public:
00051 ArrayIndexOutOfBoundsException(unsigned int lowerBound,
00052 unsigned int upperBound, unsigned int index,
00053 char const * fileName = NULL, unsigned int lineNumber = 0) throw();
00054
00058 virtual ~ArrayIndexOutOfBoundsException() throw();
00059 };
00060 }
00061 }
00062 }
00063
00064 #endif // !defined(AFX_ARRAYINDEXOUTOFBOUNDSEXCEPTION_H__7DA09EF6_508D_4905_B151_E6D5AEA773A2__INCLUDED_)