Deployment Exceptions
See original GitHub issueNeed to handle cases where the application code is in error - these should be documented in the spec and tested in the TCK. Here are a few of the exceptions we should cover (please add more as we think of them):
- Multiple HTTP method annotations on the same interface method (i.e.
@GET @PUT public Object someMethod()
- Invalid URI templating (i.e.
@GET @Path("/blah") public Object someMethod(@PathParam("{someParam}")
- in this case there is no path parameter defined - No
@Path
annotation on the passed-in interface
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Exception Site List
See Deployment Rule Set for information about deployment rules. Manage the Exception Site List. The exceptions granted by the Exception Site List feature...
Read more >Correlating Exceptions with Deployments - Logz.io
Finding the Bug in the Haystack: You can now correlate Exceptions with your deployments on the Logz.io Observability Platform.
Read more >Deployed Military Exemption - SRCPA
Active duty military members may be entitled to receive the deployed military exemption if they meet the following qualifications:.
Read more >Exceptions & Deployment - Java SE 8 - Skillsoft
Explore the purpose of Java exceptions, try, throw, catch, multi-catch, and… ... Exceptions & Deployment. Java SE 8 | Intermediate.
Read more >DeploymentException Class (System.Deployment.Application)
Remarks. DeploymentException is the base class of all deployment-related exceptions thrown by the ApplicationDeployment class. Constructors. DeploymentException ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I suggest you create a separate exception such as RestClientDefinitionException. For CDI managed beans, this exception will be wrapped under DefinitionException. For builder pattern client, it will be bubbled up without being wrapped or wrapped by JAX-RS.
Another condition we might want to check is when a rest client interface declares a sub-resource locator method that returns a class instead of an interface.