mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
35 lines
869 B
C#
35 lines
869 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)
|
|
{
|
|
}
|
|
|
|
protected EntityCreationException(
|
|
SerializationInfo info,
|
|
StreamingContext context) : base(info, context)
|
|
{
|
|
}
|
|
}
|
|
}
|