Remove outdated javadoc notes on getMessage and printStackTrace

Closes gh-30748
This commit is contained in:
Juergen Hoeller
2023-06-26 12:34:59 +02:00
parent 062d701ae1
commit 9266e6d29e
2 changed files with 4 additions and 12 deletions

View File

@@ -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 @@ import org.springframework.lang.Nullable;
/**
* Handy class for wrapping checked {@code Exceptions} with a root cause.
*
* <p>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.
*
* <p>The similarity between this class and the {@link NestedRuntimeException}
* class is unavoidable, as Java forces these two classes to have different

View File

@@ -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 @@ import org.springframework.lang.Nullable;
/**
* Handy class for wrapping runtime {@code Exceptions} with a root cause.
*
* <p>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.
*
* <p>The similarity between this class and the {@link NestedCheckedException}
* class is unavoidable, as Java forces these two classes to have different