Class UnexpectedEnumValueException
Class UnexpectedEnumValueException.
Implements the
Inheritance
System.Object
UnexpectedEnumValueException
Namespace: ISynergy.Framework.Core.Exceptions
Assembly: ISynergy.Framework.Core.dll
Syntax
public class UnexpectedEnumValueException : Exception
Constructors
View SourceUnexpectedEnumValueException()
Initializes a new instance of the UnexpectedEnumValueException class.
Declaration
public UnexpectedEnumValueException()
UnexpectedEnumValueException(String)
Initializes a new instance of the UnexpectedEnumValueException class.
Declaration
public UnexpectedEnumValueException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
UnexpectedEnumValueException(String, Exception)
Initializes a new instance of the UnexpectedEnumValueException class.
Declaration
public UnexpectedEnumValueException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
Exception | innerException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |
UnexpectedEnumValueException(Type, Object)
Initializes a new instance of the UnexpectedEnumValueException class.
Declaration
public UnexpectedEnumValueException(Type enumClass, object value)
Parameters
Type | Name | Description |
---|---|---|
Type | enumClass | The enum class. |
System.Object | value | The value. |