mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-03 02:27:08 +02:00
* Use separate define constants for exception tolerance stuff. * Improve handling of exceptions during entity creation. The entity in question now gets marked as deleted immediately. * Glorious. * Testing components, tests, wrapper exception type.
28 lines
629 B
C#
28 lines
629 B
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace Robust.Client.GameObjects
|
|
{
|
|
[Serializable]
|
|
public class ComponentStateApplyException : Exception
|
|
{
|
|
public ComponentStateApplyException()
|
|
{
|
|
}
|
|
|
|
public ComponentStateApplyException(string message) : base(message)
|
|
{
|
|
}
|
|
|
|
public ComponentStateApplyException(string message, Exception inner) : base(message, inner)
|
|
{
|
|
}
|
|
|
|
protected ComponentStateApplyException(
|
|
SerializationInfo info,
|
|
StreamingContext context) : base(info, context)
|
|
{
|
|
}
|
|
}
|
|
}
|