1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
XFXFramework/include/System/Collections/Generic/KeyNotFoundException.h
Tom Lint 52ef14a94b Transition from SVN to Git
Added implicit conversion to base types to all primary types (UInt32 et
al)
Added implicit conversion from System::String to const char*
2013-05-05 18:18:41 +02:00

34 lines
956 B
C++

/********************************************************
* KeyNotFoundException.h *
* *
* XFX KeyNotFoundException class definition file *
* Copyright © XFX Team. All Rights Reserved *
********************************************************/
#ifndef _SYSTEM_COLLECTIONS_GENERIC_KEYNOTFOUNDEXCEPTION_
#define _SYSTEM_COLLECTIONS_GENERIC_KEYNOTFOUNDEXCEPTION_
#include <System/Exception.h>
namespace System
{
namespace Collections
{
namespace Generic
{
/// <summary>
/// The exception that is thrown when the key specified for accessing an element in a collection does not match any
/// key in the collection.
/// </summary>
class KeyNotFoundException : public SystemException
{
public:
KeyNotFoundException();
KeyNotFoundException(char* message);
KeyNotFoundException(char* message, Exception* innerException);
};
}
}
}
#endif //_SYSTEM_COLLECTIONS_GENERIC_KEYNOTFOUNDEXCEPTION_