-
Notifications
You must be signed in to change notification settings - Fork 36
T_CodeJam_CodeExceptions
andrewvk edited this page Mar 30, 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#
[PublicAPIAttribute]
public static class CodeExceptions
VB
<PublicAPIAttribute>
Public NotInheritable Class CodeExceptions
F#
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<PublicAPIAttribute>]
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 |
![]() ![]() |
ObjectDisposed(Type) | Throw this if the object is disposed. |
![]() ![]() |
ObjectDisposed(Type, String, Object[]) | Throw this if the object is disposed. |
![]() ![]() |
UnexpectedValue(String, Object[]) | Creates . Used to be thrown from default: switch clause |
![]() ![]() |
UnexpectedValue(T)(T) | Creates . Used to be thrown from the default: switch clause |
![]() ![]() |
Unreachable | Used to be thrown in places expected to be unreachable. |