-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_CodeExceptions
andrewvk edited this page Jun 23, 2016
·
12 revisions
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 CodeExceptionsVB
Public NotInheritable Class CodeExceptionsF#
[<AbstractClassAttribute>]
[<SealedAttribute>]
type CodeExceptions = class endThe CodeExceptions type exposes the following members.
| Name | Description | |
|---|---|---|
![]()
|
BreakOnException | If true, breaks execution if debugger is attached and assertion is failed. Enabled by default. |
| Name | Description | |
|---|---|---|
![]()
|
Argument | Creates |
![]()
|
ArgumentNull | Creates . |
![]()
|
ArgumentNullOrEmpty | Creates for empty string |
![]()
|
ArgumentNullOrWhiteSpace | Creates for empty (or whitespace) string |
![]()
|
ArgumentOutOfRange(String, Int32, Int32, Int32) | Creates |
![]()
|
ArgumentOutOfRange(T)(String, T, T, T) | Creates |
![]()
|
BreakIfAttached | BreaksExecution if debugger attached |
![]()
|
IndexOutOfRange | Creates |
![]()
|
InvalidOperation | Creates |
![]()
|
ObjectDisposed(Type) | Throw this if the object is disposed. |
![]()
|
ObjectDisposed(Type, String, Object[]) | Throw this if the object is disposed. |
![]()
|
UnexpectedArgumentValue(T)(String, T) | Creates . Used to be thrown from the default: switch clause |
![]()
|
UnexpectedArgumentValue(T)(String, T, String, Object[]) | Creates . Used to be thrown from default: switch clause |
![]()
|
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. |

