/Users/fpy/titan-1-5-MBARI/Mers/Utils/Exceptions/ArrayIndexOutOfBoundsException.h

00001 
00002 //
00003 // Copyright (c) 2004           Model-based Embedded and Robotic Systems Group
00004 // All Rights Reserved          Massachusetts Institute of Technology
00005 //
00006 // This software is provided as is. Model-based Embedded and Robotic Systems
00007 // (MERS) group does not assume any responsibility.
00008 //
00009 // Organization:        Model-based Embedded and Robotic Systems Group
00010 //                                      Massachusetts Institute of Technology
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_)

Generated on Mon Dec 4 14:17:07 2006 for Mers by  doxygen 1.5.0