Package com.jitcaforwin.extended.exceptions

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError


   */
  public void setShuffle(boolean shuffle) throws PlaylistException {
    try {
      this.itPlaylist.setShuffle(shuffle);
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here


   */
  public boolean isRepeatOne() {
    try {
      return this.itPlaylist.getSongRepeat().is(ITPlaylistRepeatMode.One());
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public boolean isRepeatAll() {
    try {
      return this.itPlaylist.getSongRepeat().is(ITPlaylistRepeatMode.All());
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public void repeatSongOnce() throws PlaylistException {
    try {
      this.itPlaylist.setSongRepeat(ITPlaylistRepeatMode.One());
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

        this.itPlaylist.setSongRepeat(ITPlaylistRepeatMode.All());
      } else {
        this.itPlaylist.setSongRepeat(ITPlaylistRepeatMode.Off());
      }
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }

  }
View Full Code Here

   */
  public Duration getDuration() throws PlaylistException {
    try {
      return new Duration(this.itPlaylist.getDuration());
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public double getSizeInBytes() throws PlaylistException {
    try {
      return this.itPlaylist.getSize();
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

      return UserPlaylistImpl.createUserPlaylist(lazy, (UserLibrary) source, (IITUserPlaylist) itPlaylist);
    } else {
      return new PlaylistImpl(lazy, source, itPlaylist);
    }
    } catch (PlaylistDeletedException e){
      throw new ITObjectDeletedError(source);
    }
  }
View Full Code Here

   */
  public String getName() {
    try {
      return this.itEQPreset.getName();
    } catch (EQPresetDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

        tracksCleaned.add(track);
      }
    }
    return tracksCleaned;
  } catch (PlaylistDeletedException e) {
    throw new ITObjectDeletedError(this.source);
  }
  }
View Full Code Here

TOP

Related Classes of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.