Remove outdated javadoc notes on getMessage and printStackTrace
Closes gh-30748
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user