using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Amazon.XRay.Recorder.Core.Exceptions { /// /// The exception that is thrown when the entity is already emitted. /// [Serializable] public class AlreadyEmittedException : Exception { /// /// Initializes a new instance of class /// public AlreadyEmittedException() { } /// /// Initializes a new instance of the class /// with a specified error message. /// /// Error message public AlreadyEmittedException(string message) : base(message) { } /// /// Initializes a new instance of the class /// with a specified error message and a reference to the inner exception that is /// the cause of this exception. /// /// Error message /// Inner exception public AlreadyEmittedException(string message, Exception inner) : base(message, inner) { } } }