26 lines
469 B
C#
Raw Normal View History

2025-07-14 21:54:09 +08:00
// ProtectedException
using System;
using Leguar.TotalJSON.Internal;
namespace Leguar.TotalJSON {
/// <summary>
/// Exception thrown if trying to change anything in protected JSON or JArray objects.
/// </summary>
public class ProtectedException : Exception {
internal ProtectedException(string message) : base(message) {
}
public override string StackTrace {
get {
return InternalTools.getCleanedStackTrace(base.StackTrace);
}
}
}
}