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] MailMerge
Pages (19): « First ... « 14 15 16 17 [18] 19 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
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

Originally posted by ufficiale86
Raga mi dispiace che mollate...io non ho fatto tutto mi mancano un po di pezzi ma provo a mandarglielo lo stesso...
In sottoposizione mi esce questo errore:

/users/malchiod/public_html/LP/sottoposizione/sottoposizioni/phpL6X6u2/Main.java:16: unreported exception java.io.IOException; must be caught or declared to be thrown
bp.process(null);


Per caso qualcuno è riuscito a risolverlo e a sapere perchè esce??grazie mille a tutti


a me continua a dare errore anche se il throws c'è!!!!

__________________
:O

15-09-2008 21:12
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
ufficiale86
.illuminato.

User info:
Registered: Jan 2008
Posts: 166 (0.03 al dì)
Location: Brugherio
Corso: Comunicazione Digitale
Anno: 3
Time Online: 23:53:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by AnTHrAx
a me continua a dare errore anche se il throws c'è!!!!


Il thows nn è la soluzione al problema.
Ho scritto al prof praticamente l'unica eccezione ke bisogna usare in tt il progetto è WrongFormatException! Non devono comparire eccezioni del tipo IOException o ParseException....bisogna catturarle tutte e mettere WrongFormatException

15-09-2008 21:15
Click Here to See the Profile for ufficiale86 Click here to Send ufficiale86 a Private Message Find more posts by ufficiale86 Add ufficiale86 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 tolgo tutte le ioexception??

__________________
:O

15-09-2008 21:20
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
ufficiale86
.illuminato.

User info:
Registered: Jan 2008
Posts: 166 (0.03 al dì)
Location: Brugherio
Corso: Comunicazione Digitale
Anno: 3
Time Online: 23:53:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by AnTHrAx
quindi tolgo tutte le ioexception??


Ogni volta che si presenta una ioexception devi catturarla e sparar fuori una WrongFormatException!
Il main del prof gestisce soltanto quel tipo di eccezioni.....ora sei riuscito??fammi sapere

15-09-2008 21:23
Click Here to See the Profile for ufficiale86 Click here to Send ufficiale86 a Private Message Find more posts by ufficiale86 Add ufficiale86 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

e come faccio? dentro a wrongformat ci infilo il contenuto della classe ioexception??

__________________
:O

15-09-2008 21:23
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
ufficiale86
.illuminato.

User info:
Registered: Jan 2008
Posts: 166 (0.03 al dì)
Location: Brugherio
Corso: Comunicazione Digitale
Anno: 3
Time Online: 23:53:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by AnTHrAx
e come faccio? dentro a wrongformat ci infilo il contenuto della classe ioexception??


No no...ad esempio quando leggi il file dei modelli è possibile che la stringa inserita per il nome del file non corrisponda al file!
esempio:

file dei modelli = "modelli.txt"

Io faccio: BatchProcessor bp = new BatchProcessor("modeli.txt",ecc..)

è evidente che modeli.txt non esiste,esisterà invece modelli.txt con duelle!!!

in questo caso java lancia l'eccezione IOException!

Dove hai implementato la parte della lettura del file dei modelli devi fare un try-catch che cattura l'eccezione IOException e con il catch fa uscire l'eccezione WrongFormatException.

Questo è 1esempio per il file dei modelli, devi fare altrettanto per il file dei nomi e il file delle variabili!

Se c'è 1 altro problema scrivi sono qui!

15-09-2008 21:28
Click Here to See the Profile for ufficiale86 Click here to Send ufficiale86 a Private Message Find more posts by ufficiale86 Add ufficiale86 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ufficiale86
.illuminato.

User info:
Registered: Jan 2008
Posts: 166 (0.03 al dì)
Location: Brugherio
Corso: Comunicazione Digitale
Anno: 3
Time Online: 23:53:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

RAGA MA QUALCUNO CONSEGNA IL PROGETTO ANCHE SE NON E' COMPLETO AL 100%??????SAPETE SE QUALCUNO HA PASSATO STO ESAME ANCHE CON UN PROGETTO NON FINITO MA FATTO BENE???

15-09-2008 21:32
Click Here to See the Profile for ufficiale86 Click here to Send ufficiale86 a Private Message Find more posts by ufficiale86 Add ufficiale86 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 io faccio tipo

public void blabla throws IOException

try{blablbablalblablal

}
catch wrongformatexception{
get.message blabalbla}


così??

__________________
:O

15-09-2008 21: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
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

bah io sapevo di qualcuno che l'aveva fatto con qualche errore ed era riuscito a strappare uan sufficienza

__________________
:O

15-09-2008 21:34
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
ufficiale86
.illuminato.

User info:
Registered: Jan 2008
Posts: 166 (0.03 al dì)
Location: Brugherio
Corso: Comunicazione Digitale
Anno: 3
Time Online: 23:53:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

public void blabla throws WrongFormatException

try
{
blocco 1
}
catch (IOException a)
{
throw new WrongFormatException("File dei modelli non trovato");
}

15-09-2008 21:35
Click Here to See the Profile for ufficiale86 Click here to Send ufficiale86 a Private Message Find more posts by ufficiale86 Add ufficiale86 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ufficiale86
.illuminato.

User info:
Registered: Jan 2008
Posts: 166 (0.03 al dì)
Location: Brugherio
Corso: Comunicazione Digitale
Anno: 3
Time Online: 23:53:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

public void blabla throws WrongFormatException

try
{
blocco 1
}
catch (IOException a)
{
throw new WrongFormatException("blablabla");
}

Io le faccio così le eccezioni

15-09-2008 21:36
Click Here to See the Profile for ufficiale86 Click here to Send ufficiale86 a Private Message Find more posts by ufficiale86 Add ufficiale86 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ufficiale86
.illuminato.

User info:
Registered: Jan 2008
Posts: 166 (0.03 al dì)
Location: Brugherio
Corso: Comunicazione Digitale
Anno: 3
Time Online: 23:53:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Tu AnTHrAx l'hai fatto completo e funzionante??

15-09-2008 21:37
Click Here to See the Profile for ufficiale86 Click here to Send ufficiale86 a Private Message Find more posts by ufficiale86 Add ufficiale86 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ufficiale86
.illuminato.

User info:
Registered: Jan 2008
Posts: 166 (0.03 al dì)
Location: Brugherio
Corso: Comunicazione Digitale
Anno: 3
Time Online: 23:53:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Certo che sti progetti sono proprio difficili!Io è il 3° che provo....

15-09-2008 21:39
Click Here to See the Profile for ufficiale86 Click here to Send ufficiale86 a Private Message Find more posts by ufficiale86 Add ufficiale86 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 grazie mille : D

speriamo nn ci siano altri errori T_T

__________________
:O

15-09-2008 21: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
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

bah si è compelto nel senso che ci sono tutte le classi... alcune nn fanno proprio il loro lavoro però...


ah una cosa... se io e il mio compagno apparteniemo a turni differenti... dobbiamo scegliere con chi presentarlo o ci dividiamo?? e quando sono gli appelli??

cmq grazie ufficiale, senza di te nn ce l'avremmo fatta XD

__________________
:O

16-09-2008 12:24
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
All times are GMT. The time now is 00:24.    Post New Thread    Post A Reply
Pages (19): « First ... « 14 15 16 17 [18] 19 »   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.185 seconds (61.58% PHP - 38.42% MySQL) con 24 query.