Pros:
No unnecessary operation is added to the queue only for returning UnsupportedOperationException
Cons:
You have to check for this exception directly when calling the async method instead of catching them in the callback. But synchronious exception handing is always better than async ;)
Some notes:
Pros: No unnecessary operation is added to the queue only for returning
UnsupportedOperationException
Cons: You have to check for this exception directly when calling the async method instead of catching them in the callback. But synchronious exception handing is always better than async ;)