Class UnknownResourceProviderException
Exception returned when the IResourceProvider is not found for a location.
Inheritance
System.Object
System.Exception
UnknownResourceProviderException
Namespace: UnityEngine.ResourceManagement.Util
Syntax
public class UnknownResourceProviderException : ResourceManagerException, ISerializable, _Exception
Constructors
UnknownResourceProviderException()
Construct a new UnknownResourceProviderException
Declaration
public UnknownResourceProviderException()
UnknownResourceProviderException(SerializationInfo, StreamingContext)
Construct a new UnknownResourceProviderException
Declaration
protected UnknownResourceProviderException(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. |
UnknownResourceProviderException(String)
Construct a new UnknownResourceProviderException
Declaration
public UnknownResourceProviderException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Message to describe the exception. |
UnknownResourceProviderException(String, Exception)
Construct a new UnknownResourceProviderException
Declaration
public UnknownResourceProviderException(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. |
UnknownResourceProviderException(IResourceLocation)
Construct a new UnknownResourceProviderException
Declaration
public UnknownResourceProviderException(IResourceLocation location)
Parameters
Type | Name | Description |
---|---|---|
IResourceLocation | location | The location that caused the exception to be created. |
Properties
Location
The location that contains the provider id that was not found.
Declaration
public IResourceLocation Location { get; }
Property Value
Type | Description |
---|---|
IResourceLocation |
Message
Returns a string describing this exception
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
System.Exception.Message
Methods
ToString()
Returns string representation of exception.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String representation of exception. |
Overrides
System.Exception.ToString()