public void addTrack(Track track) throws JitcaTrackException, PlaylistReadOnly {
super.getTracks().add(track);
try {
this.itPlaylist.addTrack(track.getITTrack());
} catch (PlaylistDeletedException e) {
throw new ITObjectDeletedError(this);
} catch (PlaylistReadOnlyException e) {
throw new PlaylistReadOnly(this);
}
}