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 > RACCOLTA f.a.q. SUL PROGETTO LOG del "4 febbraio"
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
MìkÄ
.amico.

User info:
Registered: Sep 2003
Posts: 23 (0.00 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno:
Time Online: 9:54:30 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
RACCOLTA f.a.q. SUL PROGETTO LOG del "4 febbraio"

Onde evitare inutili perdite di tempo INVITO VOI TUTTI A INSERIRE QUI EVENTUALI TESTI DI E-MAIL (o altro) DA E VERSO I DOCENTI.

__________________
"MORITURI TE SALUTANT"

27-01-2004 15:54
Click Here to See the Profile for MìkÄ Click here to Send MìkÄ a Private Message Visit MìkÄ's homepage! Find more posts by MìkÄ Add MìkÄ to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
MìkÄ
.amico.

User info:
Registered: Sep 2003
Posts: 23 (0.00 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno:
Time Online: 9:54:30 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Post Eccezioni in Event...

> > Gradirei che mi rispondesse ad una domanda: il testo del progetto
stabilisce,
> > a proposito della classe Event, di emettere un'eccezione in caso di
> > errori di conversione e formato della stringa. In certi casi, si lancia
> > automaticamente NullPointerException: posso trattarla direttamente dal
> > main con un try...catch, o devo trattarla obbligatoriamente dalla
> > classe?
>
> Direi che dovresti creare delle tue classi di eccezione e sollevare solo
> quelle. Se si producono NullPointerException (un'eccezione piuttosto
> bruttina) in qualche metodo della classe, devi capire per quale motivo si
> verificano; se si verificano solo in corrispondenza di un errore di
> formato della stringa, fai in modo che il metodo in cui si verificano
> sollevi un'eccezione piu' decente (tipo EventFormatException).

__________________
"MORITURI TE SALUTANT"

27-01-2004 16:01
Click Here to See the Profile for MìkÄ Click here to Send MìkÄ a Private Message Visit MìkÄ's homepage! Find more posts by MìkÄ Add MìkÄ to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Verce
.amico.

User info:
Registered: Dec 2003
Posts: 30 (0.00 al dì)
Location: Biella
Corso: Comunicazione Digitale
Anno: 2
Time Online: 18:10:32 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Si può richiamare nel main di una classe il main di un'altra classe? se si, come??

03-02-2004 12:29
Click Here to See the Profile for Verce Click here to Send Verce a Private Message Find more posts by Verce Add Verce to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
yeah
.grande:maestro.

User info:
Registered: Nov 2003
Posts: 1644 (0.21 al dì)
Location: Cologno Monzese
Corso: Informatica Magistrale
Anno: II
Time Online: 12 Days, 21:36:41 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

bah...
credo di si:

class A
{
public static void main(String args[])
{
System.out.println("hehehe!!!");
}
}

class B
{
public static void main(String args[])
{
A.main("");
}
}

Non so se va... ma ti serve x il progetto?

Che p***e! Mancano 3 g e devo ancora scrivere tutta la classe log e testare clientevent e webevent.

Solo ora, ho 20 eccezioni diverse scritte apposta.

Bel progetto di :)

__________________
?

03-02-2004 23:40
Click Here to See the Profile for yeah Click here to Send yeah a Private Message Find more posts by yeah Add yeah to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
nitro84
.arcimaestro.

User info:
Registered: Feb 2004
Posts: 422 (0.05 al dì)
Location: cesano boscone
Corso: comunicazione digitale
Anno: 3
Time Online: 2 Days, 11:25:05: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

a proposito di progetto con la System.in per inserire una stringa che comando devo usare?scusate l'ignoranza!!!

04-02-2004 10:47
Click Here to See the Profile for nitro84 Click Here to See the Blog of nitro84 Click here to Send nitro84 a Private Message Find more posts by nitro84 Add nitro84 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
nitro84
.arcimaestro.

User info:
Registered: Feb 2004
Posts: 422 (0.05 al dì)
Location: cesano boscone
Corso: comunicazione digitale
Anno: 3
Time Online: 2 Days, 11:25:05: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by yeah
bah...
credo di si:

class A
{
public static void main(String args[])
{
System.out.println("hehehe!!!");
}
}

class B
{
public static void main(String args[])
{
A.main("");
}
}

Non so se va... ma ti serve x il progetto?

Che p***e! Mancano 3 g e devo ancora scrivere tutta la classe log e testare clientevent e webevent.

Solo ora, ho 20 eccezioni diverse scritte apposta.

Bel progetto di :)














lascia stare..a me mancano la Log la mainloop e da testare praticamente tutte..ogni giorno salta fuori qualche cosa di nuovo

04-02-2004 10:49
Click Here to See the Profile for nitro84 Click Here to See the Blog of nitro84 Click here to Send nitro84 a Private Message Find more posts by nitro84 Add nitro84 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Verce
.amico.

User info:
Registered: Dec 2003
Posts: 30 (0.00 al dì)
Location: Biella
Corso: Comunicazione Digitale
Anno: 2
Time Online: 18:10:32 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by yeah
bah...
credo di si:

class A
{
public static void main(String args[])
{
System.out.println("hehehe!!!");
}
}

class B
{
public static void main(String args[])
{
A.main("");
}
}


ecco perchè! mancava l'argomento! :cool:
(a chi interessasse cmq, non funziona propri così, al metodo main bisogna passargli un vettore dichiarato e inizializzato)
cmq, si, mi serviva per il progetto :D

04-02-2004 17:25
Click Here to See the Profile for Verce Click here to Send Verce a Private Message Find more posts by Verce Add Verce to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
yeah
.grande:maestro.

User info:
Registered: Nov 2003
Posts: 1644 (0.21 al dì)
Location: Cologno Monzese
Corso: Informatica Magistrale
Anno: II
Time Online: 12 Days, 21:36:41 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

lo so che bisogna passgli un vett, ma non avevo voglia di pensare come fare un vett vuoto... ;)

System.it.readLine() ?

Ma perchè non usi il pacchetto prog? Tanto...
Mi sono scervellato 5 minuti a capire come usare il sistema standard x lavorare coi file, poi ho usato FileInputManager & co, tanto funziona lo stesso.

Io prima di scrivere nuove classi ho testato a dovere quelle che già avevo scritto. Risultato: al momento di scrivere la classe Log tutto funzionava a dovere, e altrettanto dicasi per la MainLoop.

Cosi ora sono al 70% del tutto, devo aggiungere gli ultimi metodi a Log e scrivere la documentazione (che p***e, pure quella? mi mandate una email quando controllate il prog e vi spiego che fesserie ho scritto, no?)

__________________
?

04-02-2004 22:59
Click Here to See the Profile for yeah Click here to Send yeah a Private Message Find more posts by yeah Add yeah to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Verce
.amico.

User info:
Registered: Dec 2003
Posts: 30 (0.00 al dì)
Location: Biella
Corso: Comunicazione Digitale
Anno: 2
Time Online: 18:10:32 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ma i commentini all'interno del codice sono importanti?
mh, io non ne ho messo neanche uno...

05-02-2004 19:09
Click Here to See the Profile for Verce Click here to Send Verce a Private Message Find more posts by Verce Add Verce to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
yeah
.grande:maestro.

User info:
Registered: Nov 2003
Posts: 1644 (0.21 al dì)
Location: Cologno Monzese
Corso: Informatica Magistrale
Anno: II
Time Online: 12 Days, 21:36:41 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

:)

Beh io ne ho messi il + possibile!

Ogni metodo ha un commento che spiega cosa fa
in più nei punti importanti ho inserito piccoli commenti chiarificatori...

Di certo ne ho messi + del necessario, ma ormai... ho stampato già tutto... sono 30pp :eek:

__________________
?

06-02-2004 01:58
Click Here to See the Profile for yeah Click here to Send yeah a Private Message Find more posts by yeah Add yeah to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Verce
.amico.

User info:
Registered: Dec 2003
Posts: 30 (0.00 al dì)
Location: Biella
Corso: Comunicazione Digitale
Anno: 2
Time Online: 18:10:32 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ok.. sono prossimo alla sottoposizione... ma x la documentazione va bene anche un file di tipo word? (.doc)

06-02-2004 16:48
Click Here to See the Profile for Verce Click here to Send Verce a Private Message Find more posts by Verce Add Verce to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 21:23.    Post New Thread    Post A Reply
  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.056 seconds (62.14% PHP - 37.86% MySQL) con 25 query.