Class AuthenticationFailedException
The exception that is thrown when an authorization error occurs in the Asset Manager.
Inherited Members
Namespace: Unity.AssetManager.Editor
Assembly: Unity.AssetManager.Core.Editor.dll
Syntax
[Serializable]
public class AuthenticationFailedException : AssetManagerException, _Exception, ISerializable
Constructors
AuthenticationFailedException()
Initializes a new instance of the Unity.AssetManager.AuthenticationFailedException class.
Declaration
public AuthenticationFailedException()
AuthenticationFailedException(SerializationInfo, StreamingContext)
Protected constructor used for serialization
Declaration
protected AuthenticationFailedException(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | The SerializationInfo to populate with data. |
| StreamingContext | context | The destination (see StreamingContext) for this serialization. |
AuthenticationFailedException(string)
Initializes a new instance of the Unity.AssetManager.AuthenticationFailedException class.
Declaration
public AuthenticationFailedException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The error message that explains the reason for the exception. |
AuthenticationFailedException(string, Exception)
Initializes a new instance of the Unity.AssetManager.AuthenticationFailedException class.
Declaration
public AuthenticationFailedException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The error message that explains the reason for the exception. |
| Exception | innerException | The exception that is the cause of the current exception. |