Re: Java thin client errors handling

2020-03-03 Thread Alexey Kukushkin
Hi Guys, Most likely I just forgot to remove the "internal" ClientError and ClientProtocolError when I was implementing a review comment to merge the Java thin client into ignite-core (originally I developed the Java thin client as a separate module). I see that the ClientProtocolError is not used

Re: Java thin client errors handling

2020-03-03 Thread Igor Sapego
Hi, I believe, we definitely should not ignore this. Alexey, you are the author of this code. What do you think? Best Regards, Igor On Thu, Feb 27, 2020 at 3:56 PM Aleksandr Shapkin wrote: > Hello! > > > > I just noticed that the Java thin client throws the following internal > exceptions: >

Java thin client errors handling

2020-02-27 Thread Aleksandr Shapkin
Hello! I just noticed that the Java thin client throws the following internal exceptions: ClientProtocolError ClientError Since the classes are not public, there is no way to catch them properly in user code. Consider the recent changes, introduced by IGNITE-9410: throw new ClientProtoc