using System; using System.Collections.Generic; using System.Text; namespace Amazon.Lambda.Serialization.Json { /// /// 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) { } } }