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 <[email protected]>
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 <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Hussain Towaileb <[email protected]>
Reviewed-by: Murtadha Hubail <[email protected]>
---
.../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) {