CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
Loading...
Searching...
No Matches
AssetLoadException.cs
1// Copyright (C) 2021-2023 Steffen Itterheim
2// Refer to included LICENSE file for terms and conditions.
3
4using System;
5using System.Diagnostics.CodeAnalysis;
6using UnityEngine;
7
8namespace CodeSmileEditor
9{
14 [ExcludeFromCodeCoverage]
15 public class AssetLoadException : UnityException
16 {
20 internal AssetLoadException()
21 : base("asset load failed") {}
22
27 public AssetLoadException(String message)
28 : base(message) {}
29
35 public AssetLoadException(String message, Exception innerException)
36 : base(message, innerException) {}
37 }
38}
AssetLoadException(String message)
Instantiates exception with message.
AssetLoadException(String message, Exception innerException)
Instantiates exception with message and inner exception.
Thrown in cases where loading an existing asset fails. That means the AssetDatabase returned null on ...