24 lines
850 B
C#
24 lines
850 B
C#
using StgSharp.Graphics;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace StgSharp.Logic
|
|
{
|
|
[System.Serializable]
|
|
internal class FrameTimeoutException : Exception
|
|
{
|
|
internal FrameTimeoutException() { }
|
|
internal FrameTimeoutException(string message) : base(message) { }
|
|
internal FrameTimeoutException(Form form) :
|
|
base($"Form {nameof(form)} cannot accoplish all render work at frame {form.timer.totalFrame}")
|
|
{ }
|
|
internal FrameTimeoutException(string message, Exception inner) : base(message, inner) { }
|
|
protected FrameTimeoutException(
|
|
System.Runtime.Serialization.SerializationInfo info,
|
|
System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
|
|
}
|
|
}
|