Examples of JitcaInitializationError


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

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

        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

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

      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

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

    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

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

      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

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

      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

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

        }
      } 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

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

      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

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

        }
      } 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

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

        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
Copyright © 2018 www.massapi.com. 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.