using System; namespace Amazon.Lambda.Serialization.SystemTextJson { /// /// Exception thrown when errors occur serializing and deserializng JSON documents from the Lambda service /// public class JsonSerializerException : Exception { /// /// Constructs instances of JsonSerializerException /// /// Exception message public JsonSerializerException(string message) : base(message) { } /// /// Constructs instances of JsonSerializerException /// /// Exception message /// Inner exception for the JsonSerializerException public JsonSerializerException(string message, Exception exception) : base(message, exception) { } } }