diff --git a/spring-core/src/main/java/org/springframework/core/NestedCheckedException.java b/spring-core/src/main/java/org/springframework/core/NestedCheckedException.java index d737d9a74617..dcf25b5f5c04 100644 --- a/spring-core/src/main/java/org/springframework/core/NestedCheckedException.java +++ b/spring-core/src/main/java/org/springframework/core/NestedCheckedException.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2022 the original author or authors. + * Copyright 2002-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,11 +20,7 @@ /** * Handy class for wrapping checked {@code Exceptions} with a root cause. - * - *

This class is {@code abstract} to force the programmer to extend - * the class. {@code getMessage} will include nested exception - * information; {@code printStackTrace} and other like methods will - * delegate to the wrapped exception, if any. + * This class is {@code abstract} to force the programmer to extend the class. * *

The similarity between this class and the {@link NestedRuntimeException} * class is unavoidable, as Java forces these two classes to have different diff --git a/spring-core/src/main/java/org/springframework/core/NestedRuntimeException.java b/spring-core/src/main/java/org/springframework/core/NestedRuntimeException.java index a960a5ecb581..ab0eefb213a8 100644 --- a/spring-core/src/main/java/org/springframework/core/NestedRuntimeException.java +++ b/spring-core/src/main/java/org/springframework/core/NestedRuntimeException.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2022 the original author or authors. + * Copyright 2002-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,11 +20,7 @@ /** * Handy class for wrapping runtime {@code Exceptions} with a root cause. - * - *

This class is {@code abstract} to force the programmer to extend - * the class. {@code getMessage} will include nested exception - * information; {@code printStackTrace} and other like methods will - * delegate to the wrapped exception, if any. + * This class is {@code abstract} to force the programmer to extend the class. * *

The similarity between this class and the {@link NestedCheckedException} * class is unavoidable, as Java forces these two classes to have different