2008-03-05 09:52:00 -05:00
|
|
|
// ==++==
|
|
|
|
//
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
//
|
|
|
|
// ==--==
|
2008-11-17 18:29:00 -05:00
|
|
|
//============================================================
|
|
|
|
//
|
|
|
|
// Class: FormatException
|
|
|
|
//
|
|
|
|
// Purpose: Exception to designate an illegal argument to Format.
|
|
|
|
//
|
|
|
|
//===========================================================
|
|
|
|
namespace System
|
|
|
|
{
|
2008-03-05 09:52:00 -05:00
|
|
|
|
|
|
|
using System;
|
|
|
|
//| <include path='docs/doc[@for="FormatException"]/*' />
|
|
|
|
public class FormatException : SystemException {
|
|
|
|
//| <include path='docs/doc[@for="FormatException.FormatException"]/*' />
|
|
|
|
public FormatException()
|
|
|
|
: base("Arg_FormatException") {
|
|
|
|
}
|
|
|
|
|
|
|
|
//| <include path='docs/doc[@for="FormatException.FormatException1"]/*' />
|
|
|
|
public FormatException(String message)
|
|
|
|
: base(message) {
|
|
|
|
}
|
|
|
|
|
|
|
|
//| <include path='docs/doc[@for="FormatException.FormatException2"]/*' />
|
|
|
|
public FormatException(String message, Exception innerException)
|
|
|
|
: base(message, innerException) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|