Class ResourceLoaderPathException
Base class for exceptions thrown when a resource path cannot be resolved.
Inheritance
ResourceLoaderPathException
Implements
Inherited Members
Namespace: Firefly.EmbeddedResourceLoader.Exceptions
Assembly: Firefly.EmbeddedResourceLoader.dll
Syntax
[Serializable]
public abstract class ResourceLoaderPathException : Exception, ISerializable
Constructors
| Improve this Doc View SourceResourceLoaderPathException()
Initializes a new instance of the ResourceLoaderPathException class.
Declaration
protected ResourceLoaderPathException()
ResourceLoaderPathException(SerializationInfo, StreamingContext)
Initializes a new instance of the ResourceLoaderPathException class.
Declaration
protected ResourceLoaderPathException(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | The info. |
| StreamingContext | context | The context. |
ResourceLoaderPathException(String)
Initializes a new instance of the ResourceLoaderPathException class.
Declaration
protected ResourceLoaderPathException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The message. |
ResourceLoaderPathException(String, Exception)
Initializes a new instance of the ResourceLoaderPathException class.
Declaration
protected ResourceLoaderPathException(string message, Exception inner)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The message. |
| Exception | inner | The inner. |
ResourceLoaderPathException(String, Assembly)
Initializes a new instance of the ResourceLoaderPathException class.
Declaration
protected ResourceLoaderPathException(string resourcePath, Assembly containingAssembly)
Parameters
| Type | Name | Description |
|---|---|---|
| String | resourcePath | The resource path. |
| Assembly | containingAssembly | The containing assembly. |
Properties
| Improve this Doc View SourceResourceLocation
Gets the assembly containing, or expected to contain the resource.
Declaration
public Assembly ResourceLocation { get; }
Property Value
| Type | Description |
|---|---|
| Assembly | The resource location. |
ResourcePath
Gets the resource path as entered in the attribute's constructor.
Declaration
public string ResourcePath { get; }
Property Value
| Type | Description |
|---|---|
| String | The resource path. |