Skip to content

Commit f4a95f9

Browse files
authored
Merge pull request #107 from tbelaire/patch-1
Actually throw exception in MSBatchRequestStep
2 parents 71e9bb7 + 16e98ca commit f4a95f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/microsoft/graph/content/MSBatchRequestStep.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public MSBatchRequestStep(String requestId, Request request, List<String> arrayO
1515
if(requestId.length() == 0)
1616
throw new IllegalArgumentException("Request Id cannot be empty.");
1717
if(request == null)
18-
new IllegalArgumentException("Request cannot be null.");
18+
throw new IllegalArgumentException("Request cannot be null.");
1919

2020
this.requestId = requestId;
2121
this.request = request;

0 commit comments

Comments
 (0)