mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8283426: Fix 'exeption' typo
Reviewed-by: xuelei, iris, dholmes, wetmore, aivanov
This commit is contained in:
parent
f16244509d
commit
dc5a65ab37
17 changed files with 36 additions and 38 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue