Commit 48eff7cf authored by Marek Kadlečík's avatar Marek Kadlečík
Browse files

Fixed status 500 when creating player

parent 9375d639
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{
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment