Requests with wrong Paramters causes several strange Responses:
"abc": Empty Response
"CAL":
{
"message": "404 Not Found",
"exception": "org.springframework.web.client.HttpClientErrorException: 404 Not Found",
"url": "http://localhost:8080/app/timetable/CAL"
}
"118":
{
"message": "com.htwk.app.model.impl.Day cannot be cast to java.util.List",
"exception": "java.lang.ClassCastException: com.htwk.app.model.impl.Day cannot be cast to java.util.List",
"url": "http://localhost:8080/app/timetable/118"
}
Should be one general Response like Error-Page 404.
Requests with wrong Paramters causes several strange Responses:
"abc": Empty Response "CAL":
"118":
Should be one general Response like Error-Page 404.