i'm throwing a jax rs BadRequestException("message") and i always get the generic message back and not the one i put in there. why is that? i'm using netbeans and postman chrome extension to test and see the response.
jax rs BadRequestException("message") gives generic message
1.3k views Asked by user3130012 At
1
for the BadRequestException("message") to display when you request, you need an extra class that implements ExceptionMapper. learned this after i had learned to create my own custom exception classes. i must of skipped over the part they explained this in my book. anyway here is how it looks like.