You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently building a Kotlin service which uses this sinch java package.
We are trying to try catch the exception ErrorResponseException, however, since the constructor access is not given, and by default it is private, our Kotlin service could not access this exception with error: Cannot access '<init>': it is package-private in 'ErrorResponseException'
Can we update the constructor for this exception to be public?
The text was updated successfully, but these errors were encountered:
Our tests shows that Kotlin can catch this exception without any issue (as it is compiled to byte code same as java).
Could you provide the failing code that you have?
We are currently building a Kotlin service which uses this sinch java package.
We are trying to try catch the exception
ErrorResponseException
, however, since the constructor access is not given, and by default it is private, our Kotlin service could not access this exception with error:Cannot access '<init>': it is package-private in 'ErrorResponseException'
Can we update the constructor for this exception to be public?
The text was updated successfully, but these errors were encountered: