-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_CodeExceptions
andrewvk edited this page Mar 25, 2016
·
12 revisions
[This is preliminary documentation and is subject to change.]
Exception factory class
System.Object
CodeJam.CodeExceptions
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public static class CodeExceptions
VB
Public NotInheritable Class CodeExceptions
F#
[<AbstractClassAttribute>]
[<SealedAttribute>]
type CodeExceptions = class end
The CodeExceptions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() |
BreakOnException | Enables Break execution on assertion failure feature |
Name | Description | |
---|---|---|
![]() ![]() |
Argument | Creates |
![]() ![]() |
ArgumentNull | Creates |
![]() ![]() |
ArgumentNullOrEmpty | Creates for empty string |
![]() ![]() |
BreakIfAttached | BreaksExecution if debugger attached |
![]() ![]() |
InvalidOperation | Creates |
![]() ![]() |
UnexpectedValue(Object) | Creates . Used to be thrown from the default: switch clause |
![]() ![]() |
UnexpectedValue(String, Object[]) | Creates . Used to be thrown from default: switch clause |
![]() ![]() |
Unreachable | Used to be thrown in places expected to be unreachable. |