File tree 9 files changed +147
-0
lines changed
DynamoDbEncryptionTransforms/java
DynamoDbItemEncryptor/java
StructuredEncryption/java
runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk
structuredencryption/model
9 files changed +147
-0
lines changed Original file line number Diff line number Diff line change @@ -16,3 +16,6 @@ test/**/Output/*
16
16
specification_compliance_report.html
17
17
/compliance
18
18
/.smithy.lsp.log
19
+
20
+ # logs
21
+ * .log
Original file line number Diff line number Diff line change
1
+ diff --git b/DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/model/CollectionOfErrors.java a/DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/model/CollectionOfErrors.java
2
+ index c6f44188..c2af7d32 100644
3
+ --- b/DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/model/CollectionOfErrors.java
4
+ +++ a/DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/model/CollectionOfErrors.java
5
+ @@ -4,6 +4,7 @@
6
+ package software.amazon.cryptography.dbencryptionsdk.dynamodb.model;
7
+
8
+ import java.util.List;
9
+ + import java.util.stream.Collectors;
10
+
11
+ public class CollectionOfErrors extends RuntimeException {
12
+
13
+ @@ -134,6 +135,14 @@ public class CollectionOfErrors extends RuntimeException {
14
+ }
15
+
16
+ public CollectionOfErrors build() {
17
+ + if (!(this.list == null || this.list.isEmpty())) {
18
+ + this.message =
19
+ + this.message +
20
+ + " String representation of Exceptions in list.\n" +
21
+ + this.list.stream()
22
+ + .map(ex -> ex.getClass().getSimpleName() + ": " + ex.getMessage())
23
+ + .collect(Collectors.joining("\n"));
24
+ + }
25
+ return new CollectionOfErrors(this);
26
+ }
27
+ }
Original file line number Diff line number Diff line change
1
+ diff --git b/DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/transforms/model/CollectionOfErrors.java a/DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/transforms/model/CollectionOfErrors.java
2
+ index 7a2ca9b0..db01d961 100644
3
+ --- b/DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/transforms/model/CollectionOfErrors.java
4
+ +++ a/DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/transforms/model/CollectionOfErrors.java
5
+ @@ -4,6 +4,7 @@
6
+ package software.amazon.cryptography.dbencryptionsdk.dynamodb.transforms.model;
7
+
8
+ import java.util.List;
9
+ + import java.util.stream.Collectors;
10
+
11
+ public class CollectionOfErrors extends RuntimeException {
12
+
13
+ @@ -134,6 +135,14 @@ public class CollectionOfErrors extends RuntimeException {
14
+ }
15
+
16
+ public CollectionOfErrors build() {
17
+ + if (!(this.list == null || this.list.isEmpty())) {
18
+ + this.message =
19
+ + this.message +
20
+ + " String representation of Exceptions in list.\n" +
21
+ + this.list.stream()
22
+ + .map(ex -> ex.getClass().getSimpleName() + ": " + ex.getMessage())
23
+ + .collect(Collectors.joining("\n"));
24
+ + }
25
+ return new CollectionOfErrors(this);
26
+ }
27
+ }
Original file line number Diff line number Diff line change
1
+ diff --git b/DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/itemencryptor/model/CollectionOfErrors.java a/DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/itemencryptor/model/CollectionOfErrors.java
2
+ index 1bb59f8f..19928c23 100644
3
+ --- b/DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/itemencryptor/model/CollectionOfErrors.java
4
+ +++ a/DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/itemencryptor/model/CollectionOfErrors.java
5
+ @@ -4,6 +4,7 @@
6
+ package software.amazon.cryptography.dbencryptionsdk.dynamodb.itemencryptor.model;
7
+
8
+ import java.util.List;
9
+ + import java.util.stream.Collectors;
10
+
11
+ public class CollectionOfErrors extends RuntimeException {
12
+
13
+ @@ -134,6 +135,14 @@ public class CollectionOfErrors extends RuntimeException {
14
+ }
15
+
16
+ public CollectionOfErrors build() {
17
+ + if (!(this.list == null || this.list.isEmpty())) {
18
+ + this.message =
19
+ + this.message +
20
+ + " String representation of Exceptions in list.\n" +
21
+ + this.list.stream()
22
+ + .map(ex -> ex.getClass().getSimpleName() + ": " + ex.getMessage())
23
+ + .collect(Collectors.joining("\n"));
24
+ + }
25
+ return new CollectionOfErrors(this);
26
+ }
27
+ }
Original file line number Diff line number Diff line change
1
+ diff --git b/DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/structuredencryption/model/CollectionOfErrors.java a/DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/structuredencryption/model/CollectionOfErrors.java
2
+ index a4d45a55..a6c2fc43 100644
3
+ --- b/DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/structuredencryption/model/CollectionOfErrors.java
4
+ +++ a/DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/structuredencryption/model/CollectionOfErrors.java
5
+ @@ -4,6 +4,7 @@
6
+ package software.amazon.cryptography.dbencryptionsdk.structuredencryption.model;
7
+
8
+ import java.util.List;
9
+ + import java.util.stream.Collectors;
10
+
11
+ public class CollectionOfErrors extends RuntimeException {
12
+
13
+ @@ -134,6 +135,14 @@ public class CollectionOfErrors extends RuntimeException {
14
+ }
15
+
16
+ public CollectionOfErrors build() {
17
+ + if (!(this.list == null || this.list.isEmpty())) {
18
+ + this.message =
19
+ + this.message +
20
+ + " String representation of Exceptions in list.\n" +
21
+ + this.list.stream()
22
+ + .map(ex -> ex.getClass().getSimpleName() + ": " + ex.getMessage())
23
+ + .collect(Collectors.joining("\n"));
24
+ + }
25
+ return new CollectionOfErrors(this);
26
+ }
27
+ }
Original file line number Diff line number Diff line change 4
4
package software .amazon .cryptography .dbencryptionsdk .dynamodb .itemencryptor .model ;
5
5
6
6
import java .util .List ;
7
+ import java .util .stream .Collectors ;
7
8
8
9
public class CollectionOfErrors extends RuntimeException {
9
10
@@ -134,6 +135,14 @@ public List<RuntimeException> list() {
134
135
}
135
136
136
137
public CollectionOfErrors build () {
138
+ if (!(this .list == null || this .list .isEmpty ())) {
139
+ this .message =
140
+ this .message +
141
+ " String representation of Exceptions in list.\n " +
142
+ this .list .stream ()
143
+ .map (ex -> ex .getClass ().getSimpleName () + ": " + ex .getMessage ())
144
+ .collect (Collectors .joining ("\n " ));
145
+ }
137
146
return new CollectionOfErrors (this );
138
147
}
139
148
}
Original file line number Diff line number Diff line change 4
4
package software .amazon .cryptography .dbencryptionsdk .dynamodb .model ;
5
5
6
6
import java .util .List ;
7
+ import java .util .stream .Collectors ;
7
8
8
9
public class CollectionOfErrors extends RuntimeException {
9
10
@@ -134,6 +135,14 @@ public List<RuntimeException> list() {
134
135
}
135
136
136
137
public CollectionOfErrors build () {
138
+ if (!(this .list == null || this .list .isEmpty ())) {
139
+ this .message =
140
+ this .message +
141
+ " String representation of Exceptions in list.\n " +
142
+ this .list .stream ()
143
+ .map (ex -> ex .getClass ().getSimpleName () + ": " + ex .getMessage ())
144
+ .collect (Collectors .joining ("\n " ));
145
+ }
137
146
return new CollectionOfErrors (this );
138
147
}
139
148
}
Original file line number Diff line number Diff line change 4
4
package software .amazon .cryptography .dbencryptionsdk .dynamodb .transforms .model ;
5
5
6
6
import java .util .List ;
7
+ import java .util .stream .Collectors ;
7
8
8
9
public class CollectionOfErrors extends RuntimeException {
9
10
@@ -134,6 +135,14 @@ public List<RuntimeException> list() {
134
135
}
135
136
136
137
public CollectionOfErrors build () {
138
+ if (!(this .list == null || this .list .isEmpty ())) {
139
+ this .message =
140
+ this .message +
141
+ " String representation of Exceptions in list.\n " +
142
+ this .list .stream ()
143
+ .map (ex -> ex .getClass ().getSimpleName () + ": " + ex .getMessage ())
144
+ .collect (Collectors .joining ("\n " ));
145
+ }
137
146
return new CollectionOfErrors (this );
138
147
}
139
148
}
Original file line number Diff line number Diff line change 4
4
package software .amazon .cryptography .dbencryptionsdk .structuredencryption .model ;
5
5
6
6
import java .util .List ;
7
+ import java .util .stream .Collectors ;
7
8
8
9
public class CollectionOfErrors extends RuntimeException {
9
10
@@ -134,6 +135,14 @@ public List<RuntimeException> list() {
134
135
}
135
136
136
137
public CollectionOfErrors build () {
138
+ if (!(this .list == null || this .list .isEmpty ())) {
139
+ this .message =
140
+ this .message +
141
+ " String representation of Exceptions in list.\n " +
142
+ this .list .stream ()
143
+ .map (ex -> ex .getClass ().getSimpleName () + ": " + ex .getMessage ())
144
+ .collect (Collectors .joining ("\n " ));
145
+ }
137
146
return new CollectionOfErrors (this );
138
147
}
139
148
}
You can’t perform that action at this time.
0 commit comments