Class ClassNotInstantiableException
Exception that is thrown when it's not possible to create an instance of a class.
Implements
Inherited Members
Namespace: TheXDS.MCART.Exceptions
Assembly: MCART.dll
Syntax
[Serializable]
public class ClassNotInstantiableException : OffendingException<Type?>, ISerializable
Constructors
| Edit this page View SourceClassNotInstantiableException()
Initializes a new instance of the ClassNotInstantiableException class.
Declaration
public ClassNotInstantiableException()
ClassNotInstantiableException(Exception)
Initializes a new instance of the ClassNotInstantiableException class.
Declaration
public ClassNotInstantiableException(Exception inner)
Parameters
Type | Name | Description |
---|---|---|
Exception | inner | Exception that is the cause of this exception. |
ClassNotInstantiableException(Exception, Type?)
Initializes a new instance of the ClassNotInstantiableException class.
Declaration
public ClassNotInstantiableException(Exception inner, Type? offendingType)
Parameters
Type | Name | Description |
---|---|---|
Exception | inner | Exception that is the cause of this exception. |
Type | offendingType | Type that is the cause of this exception. |
ClassNotInstantiableException(string)
Initializes a new instance of the ClassNotInstantiableException class.
Declaration
public ClassNotInstantiableException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
ClassNotInstantiableException(string, Exception)
Initializes a new instance of the ClassNotInstantiableException class.
Declaration
public ClassNotInstantiableException(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. |
ClassNotInstantiableException(string, Exception, Type?)
Initializes a new instance of the ClassNotInstantiableException class.
Declaration
public ClassNotInstantiableException(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 this exception. |
ClassNotInstantiableException(string, Type?)
Initializes a new instance of the ClassNotInstantiableException class.
Declaration
public ClassNotInstantiableException(string message, Type? offendingType)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
Type | offendingType | Type that is the cause of this exception. |
ClassNotInstantiableException(Type?)
Initializes a new instance of the ClassNotInstantiableException class.
Declaration
public ClassNotInstantiableException(Type? offendingType)
Parameters
Type | Name | Description |
---|---|---|
Type | offendingType | Type that is the cause of this exception. |