Class ResourceLoaderInvalidPathException
Exception thrown when the resource path cannot be found in the given assembly. The developer may have included it, but forgot to set it to embedded resource.
Implements
Inherited Members
Namespace: Firefly.EmbeddedResourceLoader.Exceptions
Assembly: Firefly.EmbeddedResourceLoader.dll
Syntax
[Serializable]
public class ResourceLoaderInvalidPathException : ResourceLoaderPathException, ISerializable
Constructors
| Improve this Doc View SourceResourceLoaderInvalidPathException()
Initializes a new instance of the ResourceLoaderInvalidPathException class.
Declaration
public ResourceLoaderInvalidPathException()
ResourceLoaderInvalidPathException(SerializationInfo, StreamingContext)
Initializes a new instance of the ResourceLoaderInvalidPathException class.
Declaration
protected ResourceLoaderInvalidPathException(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. |
ResourceLoaderInvalidPathException(String)
Initializes a new instance of the ResourceLoaderInvalidPathException class.
Declaration
public ResourceLoaderInvalidPathException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The message that describes the error. |
ResourceLoaderInvalidPathException(String, Exception)
Initializes a new instance of the ResourceLoaderInvalidPathException class.
Declaration
public ResourceLoaderInvalidPathException(string message, Exception inner)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The message. |
| Exception | inner | The inner. |
ResourceLoaderInvalidPathException(String, Assembly)
Initializes a new instance of the ResourceLoaderInvalidPathException class.
Declaration
public ResourceLoaderInvalidPathException(string resourcePath, Assembly containingAssembly)
Parameters
| Type | Name | Description |
|---|---|---|
| String | resourcePath | The resource path. |
| Assembly | containingAssembly | The containing assembly. |
Properties
| Improve this Doc View SourceMessage
Gets a message that describes the current exception.
Declaration
public override string Message { get; }
Property Value
| Type | Description |
|---|---|
| String | The error message that explains the reason for the exception, or an empty string(""). |