Update CustomErrorDecoder.java
This commit is contained in:
parent
7f4cae20b0
commit
3574fa6fa2
@ -13,7 +13,7 @@ public class CustomErrorDecoder implements ErrorDecoder {
|
||||
case 400:
|
||||
return new BadRequestException();
|
||||
case 404:
|
||||
return new NotFoundException();
|
||||
return new NotFoundException("Not found !!!");
|
||||
default:
|
||||
return new Exception("Generic error");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user