package Ġcom . culture sh ock . made le ine . exception Ċ Ċ import Ġcom . culture sh ock . made le ine . common . util . to Se oul Epoch Second Ċ import Ġorg . springframework . http . HttpStatus Ċ import Ġorg . springframework . web . bind . annotation . ResponseStatus Ċ import Ġjava . time . LocalDateTime Ċ Ċ open Ġclass ĠUser ApiException ( ĊĠĠĠ Ġval Ġcode : ĠErrorCode , ĊĠĠĠ Ġval Ġtimestamp : ĠLong Ġ= ĠLocalDateTime . now (). to Se oul Epoch Second () !! , ĊĠĠĠ Ġoverride Ġval Ġmessage : ĠString ? Ġ= Ġnull Ċ ) Ġ: ĠException () Ċ Ċ class ĠApi Un auth ri zed Exception : ĠUser ApiException ( code Ġ= ĠErrorCode . UN AUTHORIZ ED ) Ċ class ĠApi Exist User Exception : ĠUser ApiException ( code Ġ= ĠErrorCode . EXIST _ USER ) Ċ class ĠApi NotFound User Exception : ĠUser ApiException ( code Ġ= ĠErrorCode . NOT _ FOUND _ USER )