Skip to content

T_CodeJam_EnumCodeExceptions

Andrew Koryavchenko edited this page Jun 17, 2018 · 3 revisions

EnumCodeExceptions Class

Enum exception factory class

Inheritance Hierarchy

System.Object
  CodeJam.EnumCodeExceptions
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static class EnumCodeExceptions

VB

Public NotInheritable Class EnumCodeExceptions

F#

[<AbstractClassAttribute>]
[<SealedAttribute>]
type EnumCodeExceptions =  class end

The EnumCodeExceptions type exposes the following members.

Methods

 

Name Description
Public methodStatic member ArgumentAnyFlagSet(TEnum) Creates ArgumentException for any bit from flag is set case.
Public methodStatic member ArgumentAnyFlagUnset(TEnum) Creates ArgumentException for any bit from flag is not set case.
Public methodStatic member ArgumentFlagSet(TEnum) Creates ArgumentException for flag is set case.
Public methodStatic member ArgumentFlagUnset(TEnum) Creates ArgumentException for flag is not set case.
Public methodStatic member ArgumentNotDefinedException(TEnum) Creates ArgumentOutOfRangeException for undefined enum value.
  Back to Top

See Also

Reference

CodeJam Namespace

Clone this wiki locally