protected Response createNotFound ( String message ) { ErrorResponse entity = new ErrorResponse ( ) ; entity . setMessage ( message ) ; return Response . status ( Response . Status . NOT_FOUND ) . entity ( entity ) . build ( ) ; }
Constructs not found response