Show / Hide Table of Contents

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.

Inheritance
Object
Exception
ResourceLoaderPathException
ResourceLoaderInvalidPathException
Implements
ISerializable
Inherited Members
ResourceLoaderPathException.ResourceLocation
ResourceLoaderPathException.ResourcePath
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Firefly.EmbeddedResourceLoader.Exceptions
Assembly: Firefly.EmbeddedResourceLoader.dll
Syntax
[Serializable]
public class ResourceLoaderInvalidPathException : ResourceLoaderPathException, ISerializable

Constructors

| Improve this Doc View Source

ResourceLoaderInvalidPathException()

Initializes a new instance of the ResourceLoaderInvalidPathException class.

Declaration
public ResourceLoaderInvalidPathException()
| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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 Source

Message

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("").

Overrides
Exception.Message

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX