Skip to content

Commit ab30818

Browse files
committed
m
1 parent 4226b6a commit ab30818

File tree

8 files changed

+10645
-0
lines changed

8 files changed

+10645
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4+
using System.Collections.Generic;
5+
using System;
6+
using AWS.Cryptography.DbEncryptionSDK.DynamoDb;
7+
namespace AWS.Cryptography.DbEncryptionSDK.DynamoDb
8+
{
9+
public class CollectionOfErrors : Exception
10+
{
11+
public readonly System.Collections.Generic.List<Exception> list;
12+
public CollectionOfErrors(System.Collections.Generic.List<Exception> list, string message) : base(message + $"\n List: \n{ListAsString(list)}") { this.list = list; }
13+
public CollectionOfErrors(string message) : base(message) { this.list = new System.Collections.Generic.List<Exception>(); }
14+
public CollectionOfErrors() : base("CollectionOfErrors") { this.list = new System.Collections.Generic.List<Exception>(); }
15+
private static string ListAsString(List<Exception> list)
16+
{
17+
if (list.Count < 1) return "";
18+
string[] msgArr = new string[list.Count];
19+
for (int i = 0; i < list.Count; i++)
20+
msgArr[i] = $"{list[i].GetType().Name} :: {list[i].Message}";
21+
return String.Join("\n\t", msgArr);
22+
}
23+
}
24+
25+
}

DynamoDbEncryption/runtimes/net/Generated/DynamoDbEncryption/TypeConversion.cs

Lines changed: 1713 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4+
using System;
5+
using AWS.Cryptography.DbEncryptionSDK.DynamoDb.Transforms;
6+
namespace AWS.Cryptography.DbEncryptionSDK.DynamoDb.Transforms
7+
{
8+
public class CollectionOfErrors : Exception
9+
{
10+
public readonly System.Collections.Generic.List<Exception> list;
11+
public CollectionOfErrors(System.Collections.Generic.List<Exception> list, string message) : base(message) { this.list = list; }
12+
public CollectionOfErrors(string message) : base(message) { this.list = new System.Collections.Generic.List<Exception>(); }
13+
public CollectionOfErrors() : base("CollectionOfErrors") { this.list = new System.Collections.Generic.List<Exception>(); }
14+
}
15+
16+
}

DynamoDbEncryption/runtimes/net/Generated/DynamoDbEncryptionTransforms/TypeConversion.cs

Lines changed: 6792 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4+
using System.Collections.Generic;
5+
using System;
6+
using AWS.Cryptography.DbEncryptionSDK.DynamoDb.ItemEncryptor;
7+
namespace AWS.Cryptography.DbEncryptionSDK.DynamoDb.ItemEncryptor
8+
{
9+
public class CollectionOfErrors : Exception
10+
{
11+
public readonly System.Collections.Generic.List<Exception> list;
12+
public CollectionOfErrors(System.Collections.Generic.List<Exception> list, string message) : base(message + $"\n List: \n{ListAsString(list)}") { this.list = list; }
13+
public CollectionOfErrors(string message) : base(message) { this.list = new System.Collections.Generic.List<Exception>(); }
14+
public CollectionOfErrors() : base("CollectionOfErrors") { this.list = new System.Collections.Generic.List<Exception>(); }
15+
private static string ListAsString(List<Exception> list)
16+
{
17+
if (list.Count < 1) return "";
18+
string[] msgArr = new string[list.Count];
19+
for (int i = 0; i < list.Count; i++)
20+
msgArr[i] = $"{list[i].GetType().Name} :: {list[i].Message}";
21+
return String.Join("\n\t", msgArr);
22+
}
23+
}
24+
25+
}

DynamoDbEncryption/runtimes/net/Generated/DynamoDbItemEncryptor/TypeConversion.cs

Lines changed: 1054 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
4+
using System.Collections.Generic;
5+
using System;
6+
using AWS.Cryptography.DbEncryptionSDK.StructuredEncryption;
7+
namespace AWS.Cryptography.DbEncryptionSDK.StructuredEncryption
8+
{
9+
public class CollectionOfErrors : Exception
10+
{
11+
public readonly System.Collections.Generic.List<Exception> list;
12+
public CollectionOfErrors(System.Collections.Generic.List<Exception> list, string message) : base(message + $"\n List: \n{ListAsString(list)}") { this.list = list; }
13+
public CollectionOfErrors(string message) : base(message) { this.list = new System.Collections.Generic.List<Exception>(); }
14+
public CollectionOfErrors() : base("CollectionOfErrors") { this.list = new System.Collections.Generic.List<Exception>(); }
15+
private static string ListAsString(List<Exception> list)
16+
{
17+
if (list.Count < 1) return "";
18+
string[] msgArr = new string[list.Count];
19+
for (int i = 0; i < list.Count; i++)
20+
msgArr[i] = $"{list[i].GetType().Name} :: {list[i].Message}";
21+
return String.Join("\n\t", msgArr);
22+
}
23+
}
24+
25+
}

0 commit comments

Comments
 (0)