33 lines
1014 B
C#
33 lines
1014 B
C#
// ==++==
|
|
//
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//
|
|
// ==--==
|
|
//=============================================================================
|
|
//
|
|
// Class: InvalidCastException
|
|
//
|
|
// Purpose: Exception class for bad cast conditions!
|
|
//
|
|
//=============================================================================
|
|
|
|
namespace System
|
|
{
|
|
|
|
using System;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
//| <include path='docs/doc[@for="InvalidCastException"]/*' />
|
|
public partial class InvalidCastException : SystemException {
|
|
//| <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) {
|
|
}
|
|
}
|
|
}
|