package Ġes . j ose lu is gs . kotlin spring boot rest service . errors . ped idos Ċ Ċ import Ġorg . springframework . http . HttpStatus Ċ import Ġorg . springframework . web . bind . annotation . ResponseStatus ĊĊ Ċ @ ResponseStatus ( HttpStatus . NOT _ FOUND ) Ċ class ĠPed idos NotFoundException Ġ: ĠRuntimeException ()