Class UnknownResourceProviderException
Exception returned when the IResourceProvider is not found for a location.
Inherited Members
Namespace: UnityEngine.ResourceManagement.Exceptions
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 |
---|---|---|
SerializationInfo | message | Message to describe the exception. |
StreamingContext | context | Context related to the exception. |
UnknownResourceProviderException(String)
Construct a new UnknownResourceProviderException
Declaration
public UnknownResourceProviderException(string message)
Parameters
Type | Name | Description |
---|---|---|
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 |
---|---|---|
String | message | Message to describe the exception. |
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 |
---|---|
String |
Overrides
Methods
ToString()
Returns string representation of exception.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | String representation of exception. |