Class ResourceLoaderInvalidTypeException
Exception thrown if the type of the decorated member is not supported by this library.
Note that value types are always initialized with their default value and as such are initialized, therefore they are ignored rather than this exception being thrown.
Implements
Inherited Members
Namespace: Firefly.EmbeddedResourceLoader.Exceptions
Assembly: Firefly.EmbeddedResourceLoader.dll
Syntax
[Serializable]
public class ResourceLoaderInvalidTypeException : ResourceLoaderException, ISerializable
Constructors
| Improve this Doc View SourceResourceLoaderInvalidTypeException()
Initializes a new instance of the ResourceLoaderInvalidTypeException class.
Declaration
public ResourceLoaderInvalidTypeException()
ResourceLoaderInvalidTypeException(SerializationInfo, StreamingContext)
Initializes a new instance of the ResourceLoaderInvalidTypeException class.
Declaration
protected ResourceLoaderInvalidTypeException(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
| StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
ResourceLoaderInvalidTypeException(String)
Initializes a new instance of the ResourceLoaderInvalidTypeException class.
Declaration
public ResourceLoaderInvalidTypeException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The message that describes the error. |
ResourceLoaderInvalidTypeException(String, Exception)
Initializes a new instance of the ResourceLoaderInvalidTypeException class.
Declaration
public ResourceLoaderInvalidTypeException(string message, Exception inner)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The message. |
| Exception | inner | The inner. |
ResourceLoaderInvalidTypeException(Type)
Initializes a new instance of the ResourceLoaderInvalidTypeException class.
Declaration
public ResourceLoaderInvalidTypeException(Type targetType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | targetType | Type of the target. |