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
{{ message }}
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
**GeneratedClient.java**switch (response.getStatus()) {
case 400 :
case 401 :
case 404 :
case 500 :
case 501 :
case 503 :
throw new WebApplicationException(response);
break;
case 413 :
throw new ErrorException(response, response.readEntity(ErrorType.class));
}
the "break;" statement before the 413 case causes the error since it is unreachable code.
Affected Versions
[1.1.4]
The text was updated successfully, but these errors were encountered:
Where in the wadl is used more than one responses for error cases it produces a code that doesn't compile.
An example of this case:
the "break;" statement before the 413 case causes the error since it is unreachable code.
Affected Versions
[1.1.4]
The text was updated successfully, but these errors were encountered: