|
Last change
on this file since 493 was 410, checked in by イグトランス (egtra), 18 years ago |
|
KeyNotFoundExceptionを実装
|
|
File size:
902 bytes
|
| Line | |
|---|
| 1 | 'System/Collections/Generic/KeyNotFoundException.ab
|
|---|
| 2 |
|
|---|
| 3 | Namespace System
|
|---|
| 4 | Namespace Collections
|
|---|
| 5 | Namespace Generic
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 | Class KeyNotFoundException
|
|---|
| 9 | Inherits System.SystemException
|
|---|
| 10 | Public
|
|---|
| 11 | /*!
|
|---|
| 12 | @biref コンストラクタ
|
|---|
| 13 | */
|
|---|
| 14 | Sub KeyNotFoundException()
|
|---|
| 15 | SystemException(GetType().FullName, Nothing)
|
|---|
| 16 | HResult = ActiveBasic.AB_E_KEYNOTFOUND
|
|---|
| 17 | End Sub
|
|---|
| 18 | /*!
|
|---|
| 19 | @biref コンストラクタ
|
|---|
| 20 | @param[in] message エラーメッセージ
|
|---|
| 21 | */
|
|---|
| 22 | Sub KeyNotFoundException(message As String)
|
|---|
| 23 | SystemException(message, Nothing)
|
|---|
| 24 | HResult = ActiveBasic.AB_E_KEYNOTFOUND
|
|---|
| 25 | End Sub
|
|---|
| 26 | /*!
|
|---|
| 27 | @biref コンストラクタ
|
|---|
| 28 | @param[in] message エラーメッセージ
|
|---|
| 29 | @param[in] innerException 内部例外
|
|---|
| 30 | */
|
|---|
| 31 | Sub KeyNotFoundException(message As String, innerException As Exception)
|
|---|
| 32 | SystemException(message, innerException)
|
|---|
| 33 | HResult = ActiveBasic.AB_E_KEYNOTFOUND
|
|---|
| 34 | End Sub
|
|---|
| 35 | End Class
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 | End Namespace
|
|---|
| 39 | End Namespace
|
|---|
| 40 | End Namespace
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.