8283426: Fix 'exeption' typo

Reviewed-by: xuelei, iris, dholmes, wetmore, aivanov
This commit is contained in:
Andrey Turbanov 2022-03-24 19:52:16 +00:00
parent f16244509d
commit dc5a65ab37
17 changed files with 36 additions and 38 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -1174,7 +1174,7 @@ public class Cipher {
}
// check if opmode is one of the defined constants
// throw InvalidParameterExeption if not
// throw InvalidParameterException if not
private static void checkOpmode(int opmode) {
if ((opmode < ENCRYPT_MODE) || (opmode > UNWRAP_MODE)) {
throw new InvalidParameterException("Invalid operation mode");