#@ template language="C#" inherits="BaseGenerator" #>
<#@ assembly name="System.Core" #>
<#@ import namespace="System.Linq" #>
<#@ import namespace="System.Text" #>
<#@ import namespace="System.Collections.Generic" #>
using Amazon.Runtime.EventStreams.Internal;
using System;
namespace <#=this.Config.Namespace#>
{
///
/// Modeled Exception that either comes over the stream from the service model, or wraps other exceptions for the purpose of raising events. If it is
/// modelled, it will be a subclass.
///
#if !NETSTANDARD
[Serializable]
#endif
public class <#=this.Config.ClassName#>EventStreamException : EventStreamException
{
///
/// Creates a new <#=this.Config.ClassName#>EventStreamException
///
public <#=this.Config.ClassName#>EventStreamException()
{
}
///
/// Creates a new <#=this.Config.ClassName#>EventStreamException
///
///
public <#=this.Config.ClassName#>EventStreamException(string message) : base (message)
{
}
///
/// Creates a new <#=this.Config.ClassName#>EventStreamException
///
///
///
public <#=this.Config.ClassName#>EventStreamException(string message, Exception innerException) : base(message, innerException)
{
}
#if !NETSTANDARD
///
/// Constructs a new instance of the <#=this.Config.ClassName#>EventStreamException class with serialized data.
///
/// The that holds the serialized object data about the exception being thrown.
/// The that contains contextual information about the source or destination.
/// The parameter is null.
/// The class name is null or is zero (0).
protected <#=this.Config.ClassName#>EventStreamException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
#endif
}
}