While this is usable the API is odd and unintuitive to most Java developers, its perfectly OK to just throw an exception if the error is fatal or maybe provide a warning callback e.g. send(WarningCallback) where WarningCallback will be an optional interface that has a method like: warning(String message).
While this is usable the API is odd and unintuitive to most Java developers, its perfectly OK to just throw an exception if the error is fatal or maybe provide a warning callback e.g. send(WarningCallback) where WarningCallback will be an optional interface that has a method like: warning(String message).
Thanks.