1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-31 16:32:55 +08:00

Remove obsoleted serialisation path from signalr exceptions

This commit is contained in:
Dean Herbert 2024-04-18 09:54:17 +08:00
parent 42b76294db
commit 1bd17d41a9
No known key found for this signature in database
7 changed files with 0 additions and 42 deletions

View File

@ -2,7 +2,6 @@
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using System; using System;
using System.Runtime.Serialization;
using Microsoft.AspNetCore.SignalR; using Microsoft.AspNetCore.SignalR;
namespace osu.Game.Online.Multiplayer namespace osu.Game.Online.Multiplayer
@ -13,10 +12,5 @@ namespace osu.Game.Online.Multiplayer
public InvalidPasswordException() public InvalidPasswordException()
{ {
} }
protected InvalidPasswordException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
} }
} }

View File

@ -2,7 +2,6 @@
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using System; using System;
using System.Runtime.Serialization;
using Microsoft.AspNetCore.SignalR; using Microsoft.AspNetCore.SignalR;
namespace osu.Game.Online.Multiplayer namespace osu.Game.Online.Multiplayer
@ -14,10 +13,5 @@ namespace osu.Game.Online.Multiplayer
: base($"Cannot change from {oldState} to {newState}") : base($"Cannot change from {oldState} to {newState}")
{ {
} }
protected InvalidStateChangeException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
} }
} }

View File

@ -2,7 +2,6 @@
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using System; using System;
using System.Runtime.Serialization;
using Microsoft.AspNetCore.SignalR; using Microsoft.AspNetCore.SignalR;
namespace osu.Game.Online.Multiplayer namespace osu.Game.Online.Multiplayer
@ -14,10 +13,5 @@ namespace osu.Game.Online.Multiplayer
: base(message) : base(message)
{ {
} }
protected InvalidStateException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
} }
} }

View File

@ -2,7 +2,6 @@
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using System; using System;
using System.Runtime.Serialization;
using Microsoft.AspNetCore.SignalR; using Microsoft.AspNetCore.SignalR;
namespace osu.Game.Online.Multiplayer namespace osu.Game.Online.Multiplayer
@ -14,10 +13,5 @@ namespace osu.Game.Online.Multiplayer
: base("User is attempting to perform a host level operation while not the host") : base("User is attempting to perform a host level operation while not the host")
{ {
} }
protected NotHostException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
} }
} }

View File

@ -2,7 +2,6 @@
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using System; using System;
using System.Runtime.Serialization;
using Microsoft.AspNetCore.SignalR; using Microsoft.AspNetCore.SignalR;
namespace osu.Game.Online.Multiplayer namespace osu.Game.Online.Multiplayer
@ -14,10 +13,5 @@ namespace osu.Game.Online.Multiplayer
: base("This user has not yet joined a multiplayer room.") : base("This user has not yet joined a multiplayer room.")
{ {
} }
protected NotJoinedRoomException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
} }
} }

View File

@ -2,7 +2,6 @@
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using System; using System;
using System.Runtime.Serialization;
using Microsoft.AspNetCore.SignalR; using Microsoft.AspNetCore.SignalR;
namespace osu.Game.Online.Multiplayer namespace osu.Game.Online.Multiplayer
@ -16,10 +15,5 @@ namespace osu.Game.Online.Multiplayer
: base(MESSAGE) : base(MESSAGE)
{ {
} }
protected UserBlockedException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
} }
} }

View File

@ -2,7 +2,6 @@
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using System; using System;
using System.Runtime.Serialization;
using Microsoft.AspNetCore.SignalR; using Microsoft.AspNetCore.SignalR;
namespace osu.Game.Online.Multiplayer namespace osu.Game.Online.Multiplayer
@ -16,10 +15,5 @@ namespace osu.Game.Online.Multiplayer
: base(MESSAGE) : base(MESSAGE)
{ {
} }
protected UserBlocksPMsException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
} }
} }