Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi A - F > Fondamenti di architettura e programmazione > [Progetto] TV Serial Cataloger
Pages (16): « First ... « 4 5 6 7 [8] 9 10 11 12 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
sHADOw001
.fedelissimo.

User info:
Registered: Jan 2008
Posts: 51 (0.01 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno:
Time Online: 19:48:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by AnTHrAx
Uhm... ma voi che eccezioni avete dovuto creare per gestire il progetto? io non ne ho fatta nemmeno una e non capisco per cosa le dovrei creare...

Beh ad esempio se una Query non restituisce nessun risultato, lo segnalo con un'eccezione apposita, oppure se ad esempio leggendo una riga del file mi accorgo che non rispetta il formato richiesto, prima ancora di spezzarla e analizzarla, fermo tutto e lo segnalo

16-09-2009 19:30
Click Here to See the Profile for sHADOw001 Click here to Send sHADOw001 a Private Message Find more posts by sHADOw001 Add sHADOw001 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
AnTHrAx
.dead end.

User info:
Registered: Apr 2004
Posts: 100 (0.01 al dì)
Location: milano
Corso: comunicazione digitale
Anno: 5
Time Online: 21:07:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ok... mi adeguerò, grazie

__________________
:O

16-09-2009 19:33
Click Here to See the Profile for AnTHrAx Click here to Send AnTHrAx a Private Message Find more posts by AnTHrAx Add AnTHrAx to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mdt
.amico.

User info:
Registered: Feb 2006
Posts: 20 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 5:44:30 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ragazzi avete capito cosa intende il prof. per relazione da consegnare con il codice sorgente in portineria? Intende la stampa del documento txt che bisogna accludere per la consegna nel sito e che spiega come interfacciarsi con il programma o vuole qualcosa di più apporfondito? Voi cosa fate?
Grazie

17-09-2009 11:48
Click Here to See the Profile for mdt Click here to Send mdt a Private Message Find more posts by mdt Add mdt to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
il_gege
_Kantina27-PunkRock_

User info:
Registered: Oct 2006
Posts: 283 (0.04 al dì)
Location: Seregno
Corso: Comunicazione Digitale
Anno: Oramai fuori.
Time Online: 3 Days, 18:32:52 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

@mdt, immagino la versione cartacea di quello che hai sottoposto al sito.

Però, secondo voi, la documentazione si può portare in via Comelico anche Lunedì 21? No perchè non capisco se "Consegnare entro lunedì 21" spero sia fino alla chiusura di lunedì 21, sennò per me diventa un problema..

__________________
Kantina27 - Punk Rock
MySpace Profile

17-09-2009 11:49
Click Here to See the Profile for il_gege Click here to Send il_gege a Private Message Visit il_gege's homepage! Find more posts by il_gege Add il_gege to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mdt
.amico.

User info:
Registered: Feb 2006
Posts: 20 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 5:44:30 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ok,grazie.
Credo che il lunedi sia compreso se no avrebbe detto entro domenica, magari meglio andare in mattinata o nel primo pomeriggio, non si sa mai....

17-09-2009 11:53
Click Here to See the Profile for mdt Click here to Send mdt a Private Message Find more posts by mdt Add mdt to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fraBg
.amico.

User info:
Registered: Feb 2009
Posts: 37 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 15:13:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma per fare il metodo SqueezeSpace prendete i vari campi dell'episodio dall'array episodes o dalla stringa del file, perchè se li prendo dall'array ho problemi a controllare se ci sono tabulazioni nei campi numerici

17-09-2009 13:42
Click Here to See the Profile for fraBg Click here to Send fraBg a Private Message Find more posts by fraBg Add fraBg to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sHADOw001
.fedelissimo.

User info:
Registered: Jan 2008
Posts: 51 (0.01 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno:
Time Online: 19:48:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

SqueezeSpace è da applicare solo a titoli e serial

"....alla fine dei titoli di serial ed episodi presenti in catalogo....."
Inoltre è un metodo pubblico void privo di argomenti che può essere lanciato solo dopo aver riempito il catalogo, non ci puoi analizzare stringa per stringa.
Quel controllo che dici tu io lo faccio quando compongo il catalogo, riga per riga.
Almeno, io l'ho intesa così!

17-09-2009 13:54
Click Here to See the Profile for sHADOw001 Click here to Send sHADOw001 a Private Message Find more posts by sHADOw001 Add sHADOw001 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fraBg
.amico.

User info:
Registered: Feb 2009
Posts: 37 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 15:13:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ahhh giusto ok, quindi niente controlli sui campi numerici grazie!!!

17-09-2009 14:27
Click Here to See the Profile for fraBg Click here to Send fraBg a Private Message Find more posts by fraBg Add fraBg to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
AnTHrAx
.dead end.

User info:
Registered: Apr 2004
Posts: 100 (0.01 al dì)
Location: milano
Corso: comunicazione digitale
Anno: 5
Time Online: 21:07:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ho dei problemi con la gestione delle eccezioni...

per esempio nella classe episode.

Episode(String, string, int, int, int, string)
this.title=title;
this.season=season;
this.serial=serial;
this.epn=epn;
eccetera...

se io volessi gestire tramite eccezione il problema degli episodi tra 0 e 1000 e degli anni tramite eccezione, devo per forza farlo tramite try/catch o posso mettere un if con il throw?

perchè attraverso il try catch nn capisco come farlo...

__________________
:O

17-09-2009 15:27
Click Here to See the Profile for AnTHrAx Click here to Send AnTHrAx a Private Message Find more posts by AnTHrAx Add AnTHrAx to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sHADOw001
.fedelissimo.

User info:
Registered: Jan 2008
Posts: 51 (0.01 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno:
Time Online: 19:48:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

A quanto ho capito NON si potrebbe usare il try/catch nei metodi, ma solo rimandare l'eccezione al main..è poi affar loro nei loro test gestirle come meglio credono..se non è così smentitemi, perchè è un dubbio che ho tutt'ora!!!!

17-09-2009 15:37
Click Here to See the Profile for sHADOw001 Click here to Send sHADOw001 a Private Message Find more posts by sHADOw001 Add sHADOw001 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
AnTHrAx
.dead end.

User info:
Registered: Apr 2004
Posts: 100 (0.01 al dì)
Location: milano
Corso: comunicazione digitale
Anno: 5
Time Online: 21:07:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

a me pareva di avere capito il contrario O_o
che dovevamo gestire noi un try/carch all'interno dei metodi XD

quindi secondo te va bene gestire le eccezioni con un semplice throw quando si verifica un evento indesiderato?

__________________
:O

17-09-2009 15:40
Click Here to See the Profile for AnTHrAx Click here to Send AnTHrAx a Private Message Find more posts by AnTHrAx Add AnTHrAx to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sHADOw001
.fedelissimo.

User info:
Registered: Jan 2008
Posts: 51 (0.01 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno:
Time Online: 19:48:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged


Attenzione che i vari metodi potrebbero sollevare delle eccezioni; queste non sono state specificate nel testo ma dovranno essere gestite cum grano salis. Tutte le eccezioni previste dall’uso di metodi Java devono filtrare ed essere gestite nel metodo main() anche se non espressamente indicato dalla segnatura dei metodi introdotti in questo documento.

Ti giuro che per me è sempre più difficile capire i testi di questi progetti che farli materialmente!!!!!A me da quella frase mi pare di capire quello che ti ho detto io...

17-09-2009 15:43
Click Here to See the Profile for sHADOw001 Click here to Send sHADOw001 a Private Message Find more posts by sHADOw001 Add sHADOw001 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
AnTHrAx
.dead end.

User info:
Registered: Apr 2004
Posts: 100 (0.01 al dì)
Location: milano
Corso: comunicazione digitale
Anno: 5
Time Online: 21:07:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

quindi gestisco tramite throw...

__________________
:O

17-09-2009 15:48
Click Here to See the Profile for AnTHrAx Click here to Send AnTHrAx a Private Message Find more posts by AnTHrAx Add AnTHrAx to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sHADOw001
.fedelissimo.

User info:
Registered: Jan 2008
Posts: 51 (0.01 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno:
Time Online: 19:48:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Io ho fatto così, ma adesso mi sono venuti mille dubbi..speriamo che qualcuno con le idee più chiare di noi due ci risponda.. :D

17-09-2009 15:50
Click Here to See the Profile for sHADOw001 Click here to Send sHADOw001 a Private Message Find more posts by sHADOw001 Add sHADOw001 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
giron
.primate.

User info:
Registered: Jun 2006
Posts: 62 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 16:21:30 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

io sono daccordo con sHADOw001! il try catch solo nel main

17-09-2009 15:55
Click Here to See the Profile for giron Click here to Send giron a Private Message Find more posts by giron Add giron to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 02:30.    Post New Thread    Post A Reply
Pages (16): « First ... « 4 5 6 7 [8] 9 10 11 12 » ... Last »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.097 seconds (58.99% PHP - 41.01% MySQL) con 23 query.