You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by ht...@apache.org on 2021/10/15 15:25:51 UTC
[asterixdb] branch master updated: Fix error reporting comment
This is an automated email from the ASF dual-hosted git repository.
htowaileb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git
The following commit(s) were added to refs/heads/master by this push:
new c66c233 Fix error reporting comment
c66c233 is described below
commit c66c2339a5e34e04c5b5eac585688c4b49eb1f81
Author: Hussain Towaileb <Hu...@Couchbase.com>
AuthorDate: Fri Oct 15 09:02:29 2021 +0300
Fix error reporting comment
Change-Id: I23ceebf1e4940d9b6b6922c18da7584fbf72e7d6
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/13706
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Hussain Towaileb <hu...@gmail.com>
Reviewed-by: Murtadha Hubail <mh...@apache.org>
---
.../src/main/java/org/apache/hyracks/api/util/ExceptionUtils.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hyracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/util/ExceptionUtils.java b/hyracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/util/ExceptionUtils.java
index 4cb9973..7147542 100644
--- a/hyracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/util/ExceptionUtils.java
+++ b/hyracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/util/ExceptionUtils.java
@@ -199,9 +199,9 @@ public class ExceptionUtils {
}
/**
- * Returns the message of the throwable if available, otherwise, .toString() is returned
+ * Returns the message of the throwable if of type IFormattedException, otherwise, .toString() is returned
*
- * @param e exception
+ * @param e throwable
* @return error message
*/
public static String getMessageOrToString(Throwable e) {