CodeCreationException
The exception thrown when a failure occurs attempting to create a choice field.
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
namespace kCura.WinEDDS.CodeValidator
{
[Serializable]
public class CodeCreationException : Exception
{
[CompilerGenerated]
private bool _IsFatal;
public bool IsFatal { get; }
public CodeCreationException(bool isFatal, string message)
: base(message)
{
_IsFatal = isFatal;
}
protected CodeCreationException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
_IsFatal = info.GetBoolean("IsFatal");
}
public override void GetObjectData(SerializationInfo info, StreamingContext context)
{
info.AddValue("IsFatal", IsFatal);
base.GetObjectData(info, context);
}
}
}