Package com.jitcaforwin.extended.api.exceptions

Examples of com.jitcaforwin.extended.api.exceptions.JitcaInitializationError


      this.genre = this.source.getGenre(itTrack.getGenre());
      this.genre.addTrack(this);
      this.artworks = null; // Lazy initialization
      this.eq = null; // Lazy initialization
    } catch (ObjectDeletedException e) {
      throw new JitcaInitializationError("Track could not be initialized, because Object is deleted!");
    }
  }
View Full Code Here


        return URLTrackImpl.create(source, (IITURLTrack) itTrack);
      } else {
        return new DefaultTrack(source, itTrack);
      }
    } catch (TrackDeletedException e) {
      throw new JitcaInitializationError("Track could not be initialized, because Object is deleted!");
    }

  }
View Full Code Here

      if (videoKind.is(ITVideoKind.None())) {
        throw new TrackIsNoVideoException(itTrack);
      }
      this.itVideo = itTrack;
    } catch (TrackDeletedException e) {
      throw new JitcaInitializationError("Video could not be initialized, because Object is deleted!");
    }
   
  }
View Full Code Here

    super(source, itTrack);
    try {
      Artist albumArtist = this.getArtist(); // AlbumArtist is not part of IITTrack
      this.album = this.source.getAlbum(itTrack.getAlbum(), albumArtist);
    } catch (TrackDeletedException e) {
      throw new JitcaInitializationError("Track could not be initialized, because Object has been deleted!");
    }
  }
View Full Code Here

      this.itCollection = track.getITTrack().getArtwork();
      this.track = track;
      this.artworks = new ArrayList<Artwork>();
      this.extractArtworksFromCollection();
    } catch (ObjectDeletedException e) {
      throw new JitcaInitializationError("AlbumCollection could not be initialized, because Track has been deleted!");
    }
   
  }
View Full Code Here

      if (albumArtist == null) {
        albumArtist = this.getArtist();
      }
      super.album = super.source.getAlbum(itTrack.getAlbum(), albumArtist);
    } catch (TrackDeletedException e) {
      throw new JitcaInitializationError("Track could not be initialized, because Object has been deleted!");
    }
  }
View Full Code Here

        }
      } else {
        return new FileOrCDTrackImpl(source, itTrack);
      }
    } catch (TrackDeletedException e) {
      throw new JitcaInitializationError("Track could not be initialized, because Object has been deleted!");
    }

  }
View Full Code Here

      if (albumArtist == null) {
        albumArtist = this.getArtist();
      }
      super.album = super.source.getAlbum(itTrack.getAlbum(), albumArtist);
    } catch (TrackDeletedException e) {
      throw new JitcaInitializationError("Track could not be initialized, because Object has been deleted!");
    }
  }
View Full Code Here

        }
      } else {
        return new FileOrCDTrackImpl(source, itTrack);
      }
    } catch (TrackDeletedException e) {
      throw new JitcaInitializationError("Track could not be initialized, because Object has been deleted!");
    }

  }
View Full Code Here

        this.addTrack(allTracks.item(i), since);
      }
      this.sort();
     
    } catch (ObjectDeletedException e) {
      throw new JitcaInitializationError("Played tracks could not be initialized, because some objects have been deleted!");
    }
  }
View Full Code Here

TOP

Related Classes of com.jitcaforwin.extended.api.exceptions.JitcaInitializationError

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.