offthewall123 commented on a change in pull request #7815:
URL: https://github.com/apache/arrow/pull/7815#discussion_r459170893



##########
File path: 
java/plasma/src/main/java/org/apache/arrow/plasma/exceptions/PlasmaOutOfMemoryException.java
##########
@@ -22,11 +22,11 @@
  */
 public class PlasmaOutOfMemoryException extends RuntimeException {
 
-  public PlasmaOutOfMemoryException() {
+  public PlasmaOutOfMemoryException(String message) {

Review comment:
       In plasma/lib/java/org_apache_arrow_plasma_PlasmaClientJNI.cc
   Line 123
   `  env->ThrowNew(exceptionClass, "");`
   Here passed an empty String.But There is no String arg in 
`PlasmaOutOfMemoryException ` constructor.
   And if we need to catch this exception, it would show `java 
(Ljava/lang/String;Ljava/lang/String;I)V`
   So add a String arg in PlasmaOutOfMemoryException constructors.
   




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to