Re: exceptions in PTransform

2017-03-09 Thread Aviem Zur
Hi Antony. You are correct, PTransform#expand cannot throw checked exceptions. What you need to do is wrap your checked exception in a runtime exception. For example:

exceptions in PTransform

2017-03-09 Thread Antony Mayi
Hi, when implementing PTransform.expand what can I do with checked exceptions that might be thrown? It is not declared to throw anything checked so how can I fail it? Thanks Antony.