Instance Method インスタンスメソッド

raise()

Raises the receiver, causing program flow to jump to the local exception handler. レシーバを引き起こします、プログラムの流れをローカル例外ハンドラにジャンプさせます。

Declaration 宣言

func raise()

Discussion 議論

When there are no exception handlers in the exception handler stack, unless the exception is raised during the posting of a notification, this method calls the uncaught exception handler, in which last-minute logging can be performed. The program then terminates, regardless of the actions taken by the uncaught exception handler. 例外ハンドラが例外ハンドラスタックの中にない場合、例外が通知の投函の間に引き起こされない限り、このメソッドは未捕捉例外ハンドラを呼び出します、そこにおいて最後の記録が実行されることができます。プログラムはそれから終了します、未捕捉例外ハンドラによってとられるアクションに関係なく。

See Also 参照

Creating and Raising an NSException Object NSExceptionオブジェクトを作成するそして引き起こす

Related Documentation 関連文書