Files
RobustToolbox/Robust.Shared/GameObjects/EntityCreationException.cs
Pieter-Jan Briers 816a535a92 Fix obsoletion warnings for BinaryFormatter stuff
This became an outright warning in .NET 8. Into the trash, never used it.
2023-12-15 19:37:13 +01:00

29 lines
709 B
C#

using System;
using System.Runtime.Serialization;
namespace Robust.Shared.GameObjects
{
/// <summary>
/// Thrown if an entity fails to be created due to an exception inside a component.
/// </summary>
/// <remarks>
/// See the <see cref="Exception.InnerException"/> for the actual exception.
/// </remarks>
[Serializable]
[Virtual]
public class EntityCreationException : Exception
{
public EntityCreationException()
{
}
public EntityCreationException(string message) : base(message)
{
}
public EntityCreationException(string message, Exception inner) : base(message, inner)
{
}
}
}