You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ta...@apache.org on 2021/10/19 21:46:17 UTC
[qpid-protonj2] 01/02: PROTON-2394 Fix some typos in some Javadocs
This is an automated email from the ASF dual-hosted git repository.
tabish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-protonj2.git
commit 7acf2f8f5ad3763651361337a22b209721089565
Author: Timothy Bish <ta...@gmail.com>
AuthorDate: Tue Oct 19 17:44:58 2021 -0400
PROTON-2394 Fix some typos in some Javadocs
Exception support APIs had some bad type references.
---
.../qpid/protonj2/client/impl/ClientExceptionSupport.java | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/impl/ClientExceptionSupport.java b/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/impl/ClientExceptionSupport.java
index 9608e8a..60756c1 100644
--- a/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/impl/ClientExceptionSupport.java
+++ b/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/impl/ClientExceptionSupport.java
@@ -45,13 +45,13 @@ import org.apache.qpid.protonj2.types.transport.LinkError;
class ClientExceptionSupport {
/**
- * Checks the given cause to determine if it's already an ProviderIOException type and
+ * Checks the given cause to determine if it's already an ClientIOException type and
* if not creates a new ProviderIOException to wrap it.
*
* @param cause
* The initiating exception that should be cast or wrapped.
*
- * @return an ProviderIOException instance.
+ * @return an ClientIOException instance.
*/
public static ClientIOException createOrPassthroughFatal(Throwable cause) {
if (cause instanceof ClientIOException) {
@@ -71,15 +71,15 @@ class ClientExceptionSupport {
}
/**
- * Checks the given cause to determine if it's already an ProviderException type and
- * if not creates a new ProviderException to wrap it. If the inbound exception is a
+ * Checks the given cause to determine if it's already an ClientException type and
+ * if not creates a new ClientException to wrap it. If the inbound exception is a
* fatal type then it will pass through this method untouched to preserve the fatal
* status of the error.
*
* @param cause
* The initiating exception that should be cast or wrapped.
*
- * @return an ProviderException instance.
+ * @return an ClientException instance.
*/
public static ClientException createNonFatalOrPassthrough(Throwable cause) {
if (cause instanceof ClientException) {
@@ -162,7 +162,7 @@ class ClientExceptionSupport {
/**
* Given an ErrorCondition instance create a new Exception that best matches
- * the error type that indicates the connection creation failed for some reason.
+ * the error type that indicates the session creation failed for some reason.
*
* @param errorCondition
* The ErrorCondition returned from the remote peer.
@@ -188,7 +188,7 @@ class ClientExceptionSupport {
/**
* Given an ErrorCondition instance create a new Exception that best matches
- * the error type that indicates the connection creation failed for some reason.
+ * the error type that indicates the link creation failed for some reason.
*
* @param errorCondition
* The ErrorCondition returned from the remote peer.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org