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



##########
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:
       Hey @offthewall123 My concern is that someone somewhere might be using 
those exceptions in other ways and we shouldn't break their code. I think 
something like `super("The plasma store ran out of memory. " + message)` will 
result in effectively no change from current behaviour but if someone does add 
more context to the exception then the user will know about it.




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to