aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Helpers/ClassMigrationHelper.cs
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2021-11-09 08:35:33 +0100
committerGitHub <noreply@github.com>2021-11-09 08:35:33 +0100
commit6f85e3047591e716d732a648466c700769404f7c (patch)
tree75f4acce165890b11921854cfb8a91e0b3551165 /Jellyfin.Api/Helpers/ClassMigrationHelper.cs
parent958a4f509c0d8a326eedc6a95a9f9e2d31e5391f (diff)
parent64652b639299ecd9a692f89a7bbda3f827129fa3 (diff)
Merge pull request #6806 from crobibero/dotnet6
Update to full dotnet 6
Diffstat (limited to 'Jellyfin.Api/Helpers/ClassMigrationHelper.cs')
-rw-r--r--Jellyfin.Api/Helpers/ClassMigrationHelper.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Helpers/ClassMigrationHelper.cs b/Jellyfin.Api/Helpers/ClassMigrationHelper.cs
index a911a3324..76fb27bcc 100644
--- a/Jellyfin.Api/Helpers/ClassMigrationHelper.cs
+++ b/Jellyfin.Api/Helpers/ClassMigrationHelper.cs
@@ -19,7 +19,7 @@ namespace Jellyfin.Api.Helpers
// If any this null throw an exception.
if (source == null || destination == null)
{
- throw new Exception("Source or/and Destination Objects are null");
+ throw new ArgumentException("Source or/and Destination Objects are null");
}
// Getting the Types of the objects.