throw new BadRequestException( "You don't own that playlist", 403 );
cm.removePlaylist( id );
// done, send success response
final TString tpl = new TString();
tpl.setResult( Integer.toString(id) );
getResponse().showJson( tpl.makeRenderer() );
}
finally {
Utils.close( rs );