diff --git a/smithy-model/src/main/java/software/amazon/smithy/model/validation/ValidatedResult.java b/smithy-model/src/main/java/software/amazon/smithy/model/validation/ValidatedResult.java index 9dabb023ca0..5254b6fa176 100644 --- a/smithy-model/src/main/java/software/amazon/smithy/model/validation/ValidatedResult.java +++ b/smithy-model/src/main/java/software/amazon/smithy/model/validation/ValidatedResult.java @@ -121,11 +121,11 @@ public Optional getResult() { } /** - * Get the result, but throw if there are any ERROR events or if the + * Get the result, but throw if there are any ERROR or DANGER events or if the * result is empty. * * @return Returns the result. - * @throws ValidatedResultException if there are any ERROR events. + * @throws ValidatedResultException if there are any ERROR or DANGER events. * @throws IllegalStateException if there is no result. */ public T unwrap() {