singrdk/base/Kernel/System/InvalidCastException.cs

40 lines
1.2 KiB
C#
Raw Normal View History

2008-03-05 09:52:00 -05:00
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*=============================================================================
**
** Class: InvalidCastException
**
**
** Purpose: Exception class for bad cast conditions!
**
** Date: March 17, 1998
**
=============================================================================*/
namespace System {
using System;
using System.Runtime.CompilerServices;
//| <include path='docs/doc[@for="InvalidCastException"]/*' />
public class InvalidCastException : SystemException {
//| <include path='docs/doc[@for="InvalidCastException.InvalidCastException"]/*' />
public InvalidCastException()
: base("Arg_InvalidCastException") {
}
//| <include path='docs/doc[@for="InvalidCastException.InvalidCastException1"]/*' />
public InvalidCastException(String message)
: base(message) {
}
//| <include path='docs/doc[@for="InvalidCastException.InvalidCastException2"]/*' />
public InvalidCastException(String message, Exception innerException)
: base(message, innerException) {
}
}
}