5455565758596061
public void deletePlaylist(Playlist playlist) throws JitcaException { this.playlists.remove(playlist); try { playlist.getITPlaylist().delete(); } catch (PlaylistDeletedException e) { throw new JitcaException("Playlist already deleted!"); } }
public void deletePlaylist(PlaylistImpl playlist) throws JitcaException { this.playlists.remove(playlist); try { playlist.getITPlaylist().delete(); } catch (PlaylistDeletedException e) { throw new JitcaException("Playlist already deleted!"); } }