Skip to content

Commit da3f6de

Browse files
committed
Fixed typo in error message.
1 parent 0a4653e commit da3f6de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/amazonaws/encryptionsdk/model/CiphertextHeaders.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public Boolean isComplete() {
181181
private int parseVersion(final byte[] b, final int off) throws ParseException {
182182
version_ = PrimitivesParser.parseByte(b, off);
183183
if (version_ != VersionInfo.CURRENT_CIPHERTEXT_VERSION) {
184-
throw new BadCiphertextException("Invalid version type.");
184+
throw new BadCiphertextException("Invalid version ");
185185
}
186186
return 1;
187187
}

0 commit comments

Comments
 (0)