Class ResourceProviderFailedException
Exception created when an IResourceProvider is unabled to load the specified location.
Namespace: UnityEngine.ResourceManagement.Util
Syntax
public class ResourceProviderFailedException : ResourceManagerException, ISerializable, _Exception
Constructors
ResourceProviderFailedException()
Construct a new ResourceProviderFailedException
Declaration
public ResourceProviderFailedException()
ResourceProviderFailedException(SerializationInfo, StreamingContext)
Construct a new ResourceProviderFailedException
Declaration
protected ResourceProviderFailedException(SerializationInfo message, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | message | Message to describe the exception. |
System.Runtime.Serialization.StreamingContext | context | Context related to the exception. |
ResourceProviderFailedException(String)
Construct a new ResourceProviderFailedException
Declaration
public ResourceProviderFailedException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Message to describe the exception. |
ResourceProviderFailedException(String, Exception)
Construct a new ResourceProviderFailedException
Declaration
public ResourceProviderFailedException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Message to describe the exception. |
System.Exception | innerException | Inner exception that caused this exception. |
ResourceProviderFailedException(IResourceProvider, IResourceLocation)
Construct a new ResourceProviderFailedException
Declaration
public ResourceProviderFailedException(IResourceProvider provider, IResourceLocation location)
Parameters
Type | Name | Description |
---|---|---|
IResourceProvider | provider | |
IResourceLocation | location |
Properties
Location
The location that is unable to be loaded.
Declaration
public IResourceLocation Location { get; }
Property Value
Type | Description |
---|---|
IResourceLocation |
Message
Returns a descriptive string for the exception.
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
System.Exception.Message
Provider
The provider that is unable to load the location.
Declaration
public IResourceProvider Provider { get; }
Property Value
Type | Description |
---|---|
IResourceProvider |