3839404142434445
*/ public void update(){ try { this.itSource.updateIPod(); } catch (SourceDeletedException e) { throw new IPodRemoved("IPod could not be updated, because IPod has been removed!"); } }
4950515253545556
*/ public void eject() { try { this.itSource.ejectIPod(); } catch (SourceDeletedException e) { throw new IPodRemoved(); } }
606162636465666768
*/ public String getSoftwareVersion() { try { return this.itSource.getSoftwareVersion(); } catch (SourceDeletedException e) { throw new IPodRemoved(); } }
7273747576777879
*/ public String getName() { try { return this.itSource.getName(); } catch (ObjectDeletedException e) { throw new IPodRemoved(); } }
83848586878889909192
*/ public void setName(String name) throws IPodReadOnly { try { this.itSource.setName(name); } catch (ObjectDeletedException e) { throw new IPodRemoved(); } catch (ObjectLockedException e) { throw new IPodReadOnly(this); } }
96979899100101102103
*/ public double getCapacity(){ try { return this.itSource.getCapacity(); } catch (SourceDeletedException e) { throw new IPodRemoved(); } }
107108109110111112113114
*/ public double getFreeSpace(){ try { return this.itSource.getFreeSpace(); } catch (SourceDeletedException e) { throw new IPodRemoved(); } }
118119120121122123124125
*/ public PlaylistCollection getPlaylists(){ try { return new PlaylistCollection(this, this.itSource.getPlaylists()); } catch (SourceDeletedException e) { throw new IPodRemoved(); } }
3940414243444546
5051525354555657