question: @ Transactional public void redeem ( final String tokenNumber , final String service ) { final Token token = tokenRepository . findByTokenNumberAndService ( tokenNumber , service ) ; if ( token == null ) throw new ApplicationRuntimeException ( "Token " + tokenNumber + " does not exist!" ) ; redeem ( token ) ; }
target:  Checks whether a token can be redeemed and then redeems it i.e. removes it from the database. If the token does not exist or has expired, it throws an exception.