Class InvalidTypeException
Exception that is thrown when referencing an invalid type.
Implements
Inherited Members
Namespace: TheXDS.MCART.Exceptions
Assembly: MCART.dll
Syntax
[Serializable]
public class InvalidTypeException : OffendingException<Type>, ISerializable
Constructors
| Edit this page View SourceInvalidTypeException()
Initializes a new instance of the InvalidTypeException class.
Declaration
public InvalidTypeException()
InvalidTypeException(Exception)
Initializes a new instance of the InvalidTypeException class.
Declaration
public InvalidTypeException(Exception inner)
Parameters
Type | Name | Description |
---|---|---|
Exception | inner | Exception that is the cause of this exception. |
InvalidTypeException(Exception, Type)
Initializes a new instance of the InvalidTypeException class.
Declaration
public InvalidTypeException(Exception inner, Type offendingType)
Parameters
Type | Name | Description |
---|---|---|
Exception | inner | Exception that is the cause of this exception. |
Type | offendingType | Tipo que ha causado la excepción. |
InvalidTypeException(string)
Initializes a new instance of the InvalidTypeException class.
Declaration
public InvalidTypeException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
InvalidTypeException(string, Exception)
Initializes a new instance of the InvalidTypeException class.
Declaration
public InvalidTypeException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
Exception | inner | Exception that is the cause of this exception. |
InvalidTypeException(string, Exception, Type)
Initializes a new instance of the InvalidTypeException class.
Declaration
public InvalidTypeException(string message, Exception inner, Type offendingType)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
Exception | inner | Exception that is the cause of this exception. |
Type | offendingType | Type that is the cause of the exception. |
InvalidTypeException(string, Type)
Initializes a new instance of the InvalidTypeException class.
Declaration
public InvalidTypeException(string message, Type offendingType)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
Type | offendingType | Type that is the cause of the exception. |
InvalidTypeException(Type)
Initializes a new instance of the InvalidTypeException class.
Declaration
public InvalidTypeException(Type offendingType)
Parameters
Type | Name | Description |
---|---|---|
Type | offendingType | Type that is the cause of the exception. |