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
Currently, any RestMarketoClient's method may throw javax.ws.rs.ProcessingException or javax.ws.rs.WebApplicationException. Not only it exposes implementation details but also forces clients to deal with it on their own.
Proposed:
Catch ProcessingException inside SDK and throw MarketoApiException instead
the same for javax.ws.rs.WebApplicationException
The text was updated successfully, but these errors were encountered:
Currently, any
RestMarketoClient
's method may throwjavax.ws.rs.ProcessingException
orjavax.ws.rs.WebApplicationException
. Not only it exposes implementation details but also forces clients to deal with it on their own.Proposed:
ProcessingException
inside SDK and throwMarketoApiException
insteadjavax.ws.rs.WebApplicationException
The text was updated successfully, but these errors were encountered: