mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Added implicit conversion to base types to all primary types (UInt32 et al) Added implicit conversion from System::String to const char*
34 lines
956 B
C++
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_
|