Rserve icon indicating copy to clipboard operation
Rserve copied to clipboard

Java client: use exceptions instead of null result

Open s-u opened this issue 3 years ago • 1 comments

Many parts of the internal protocol code such as RTalk and RConnection catch low-level exceptions and return null making lower-level error handling on the Java side hard (see also comments in #175). Way back the first client used null to signal errors, but then a general REngine client was created which introduced exceptions. However, the low-level Rserve code has not adopted it yet and it still catching them instead of creating the corresponding exceptions.

s-u avatar Apr 06 '22 21:04 s-u

Related upstream: https://github.com/s-u/REngine/issues/6

s-u avatar Apr 06 '22 21:04 s-u