using Amazon.Runtime.EventStreams.Internal;
using System;
namespace Amazon.Lambda
{
///
/// 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 LambdaEventStreamException : EventStreamException
{
///
/// Creates a new LambdaEventStreamException
///
public LambdaEventStreamException()
{
}
///
/// Creates a new LambdaEventStreamException
///
///
public LambdaEventStreamException(string message) : base (message)
{
}
///
/// Creates a new LambdaEventStreamException
///
///
///
public LambdaEventStreamException(string message, Exception innerException) : base(message, innerException)
{
}
#if !NETSTANDARD
///
/// Constructs a new instance of the LambdaEventStreamException 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 LambdaEventStreamException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
#endif
}
}