Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Matúš Valko
Online Gaming Management System
Commits
48eff7cf
Commit
48eff7cf
authored
May 24, 2022
by
Marek Kadlečík
Browse files
Fixed status 500 when creating player
parent
9375d639
Changes
1
Hide whitespace changes
Inline
Side-by-side
gaming-rest/src/main/java/cz/muni/fi/pa165/rest/exception/ResourceAlreadyExistsException.java
View file @
48eff7cf
package
cz.muni.fi.pa165.rest.exception
;
import
org.springframework.http.HttpStatus
;
import
org.springframework.web.bind.annotation.ResponseStatus
;
@ResponseStatus
(
value
=
HttpStatus
.
UNPROCESSABLE_ENTITY
,
reason
=
"Player with the specified uuid already exists"
)
public
class
ResourceAlreadyExistsException
extends
RuntimeException
{
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment