From f0298e9488c4b0ebde6a707d66990ab8f7848b1a Mon Sep 17 00:00:00 2001 From: offthewall123 Date: Mon, 27 Jul 2020 01:57:52 +0800 Subject: [PATCH] add a new constructor in PlasmaOutOfMemoryException --- .../arrow/plasma/exceptions/PlasmaOutOfMemoryException.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java/plasma/src/main/java/org/apache/arrow/plasma/exceptions/PlasmaOutOfMemoryException.java b/java/plasma/src/main/java/org/apache/arrow/plasma/exceptions/PlasmaOutOfMemoryException.java index ab60c4e55f2be..ffc4177ebbe30 100644 --- a/java/plasma/src/main/java/org/apache/arrow/plasma/exceptions/PlasmaOutOfMemoryException.java +++ b/java/plasma/src/main/java/org/apache/arrow/plasma/exceptions/PlasmaOutOfMemoryException.java @@ -26,6 +26,10 @@ public PlasmaOutOfMemoryException(String message) { super("The plasma store ran out of memory." + message); } + public PlasmaOutOfMemoryException(String message, Throwable t) { + super("The plasma store ran out of memory." + message, t); + } + public PlasmaOutOfMemoryException() { super("The plasma store ran out of memory."); }