OSDN Git Service

#30840 言語間リンクの取得をMediaWiki APIより行うよう変更,
[wptscs/wpts.git] / Wptscs / Utilities / EndPeriodException.cs
1 // ================================================================================================
2 // <summary>
3 //      末尾がピリオドのページが取得できない既知の不具合に該当することを表す例外クラスソース</summary>
4 //
5 // <copyright file="EndPeriodException.cs" company="honeplusのメモ帳">
6 //      Copyright (C) 2012 Honeplus. All rights reserved.</copyright>
7 // <author>
8 //      Honeplus</author>
9 // ================================================================================================
10
11 namespace Honememo.Wptscs.Utilities
12 {
13     using System;
14
15     /// <summary>
16     /// 末尾がピリオドのページが取得できない既知の不具合に該当することを表す例外クラスです。
17     /// </summary>
18     /// <remarks>
19     /// <para>
20     /// 末尾がピリオドのページが取得できない既知の不具合への暫定対応。
21     /// もともとただの<see cref="NotSupportedException"/>を投げていたが、
22     /// スキーム名が不正な場合等にもこの例外が飛ぶことが判明したため、
23     /// 区別できるように作成。
24     /// </para>
25     /// <para>
26     /// この問題は<see cref="IWebProxy"/>実装クラスでおきているため、
27     /// このパッケージに定義する。
28     /// </para>
29     /// </remarks>
30     public class EndPeriodException : NotSupportedException
31     {
32         #region コンストラクタ
33
34         /// <summary>
35         /// 指定したエラーメッセージを使用して、
36         /// 新しい例外インスタンスを作成します。
37         /// </summary>
38         /// <param name="message">エラーメッセージ。</param>
39         public EndPeriodException(string message)
40             : base(message)
41         {
42         }
43
44         #endregion
45     }
46 }