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 > [Java] Maledette Eccezioni...
Pages (3): [1] 2 3 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
vampiro85
.amico.

User info:
Registered: Nov 2005
Posts: 26 (0.00 al dì)
Location:
Corso: COM DIG
Anno: 1
Time Online: 15:22:43 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Maledette Eccezzioni...

ciao a tutti...
qualcuno sarebbe cosi gentile da spiegarmi perchè il main dato da malchiodi mi dà ste errore???

<<C:\Programmi\Java\jdk1.5.0_03\bin\Programma.java:51: <<unreported exception InvalidVariableException; must be <<caught or declared to be thrown
<< s3.esegui();
<< ^

è sicuramente un problema del mio programma(non di quello di malchiodi) xò non so + che fare!!! sono in crisi fex...

QUALKUNO MI AIUTI PER FAVORE!!!

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

User info:
Registered: Jul 2005
Posts: 636 (0.09 al dì)
Location: milano
Corso: Comunicazione digitale
Anno: Dottoressa!!!
Time Online: 12 Days, 7:36:22 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Prova a vedere se hai lanciato tutte le eccezioni compresa InvalidVariableException nei metodi esegui delle varie classi!

02-02-2006 10:28
Click Here to See the Profile for ARIEL Click here to Send ARIEL a Private Message Find more posts by ARIEL Add ARIEL to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
vampiro85
.amico.

User info:
Registered: Nov 2005
Posts: 26 (0.00 al dì)
Location:
Corso: COM DIG
Anno: 1
Time Online: 15:22:43 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

si... cioè... penso di aver fatto giusto x' non da errori nel mio programma... non so + che dire... se vuoi guadarlo ti passo il sorgente...

02-02-2006 10:44
Click Here to See the Profile for vampiro85 Click here to Send vampiro85 a Private Message Find more posts by vampiro85 Add vampiro85 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ARIEL
.grande:maestro.

User info:
Registered: Jul 2005
Posts: 636 (0.09 al dì)
Location: milano
Corso: Comunicazione digitale
Anno: Dottoressa!!!
Time Online: 12 Days, 7:36:22 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

mandami un pm....

02-02-2006 10:46
Click Here to See the Profile for ARIEL Click here to Send ARIEL a Private Message Find more posts by ARIEL Add ARIEL to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sandrino83
maschio latino

User info:
Registered: Oct 2004
Posts: 376 (0.05 al dì)
Location:
Corso: Com Dig
Anno: finito
Time Online: 8 Days, 7:53:08: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ariel ma tu come la gestisci la executeException? Nel senso...nel programma.java è nel catch in fondo ma nelle classi estese ci sono le altre.....

__________________
we are just two lost souls swimming in a fish bowl year after year....running over the same old ground....what have we found.......

02-02-2006 15:01
Click Here to See the Profile for sandrino83 Click here to Send sandrino83 a Private Message Find more posts by sandrino83 Add sandrino83 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Vikyg13
.arcimaestro.

User info:
Registered: Feb 2006
Posts: 290 (0.04 al dì)
Location:
Corso: Comunicazione Digitale
Anno: Primo
Time Online: 3 Days, 1:12:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Io invece quando faccio partire il main mi dice che non riesce a trovare la classe ExecutionException riferendosi alla riga "catch(ExecutionException e)" del main

Come mai secondo voi??

Last edited by Vikyg13 on 02-02-2006 at 17:15

02-02-2006 16:55
Click Here to See the Profile for Vikyg13 Click here to Send Vikyg13 a Private Message Find more posts by Vikyg13 Add Vikyg13 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sandrino83
maschio latino

User info:
Registered: Oct 2004
Posts: 376 (0.05 al dì)
Location:
Corso: Com Dig
Anno: finito
Time Online: 8 Days, 7:53:08: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

vikyg13.....idem succede a me

__________________
we are just two lost souls swimming in a fish bowl year after year....running over the same old ground....what have we found.......

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

User info:
Registered: Mar 2003
Posts: 1126 (0.14 al dì)
Location: Milano
Corso: Dottore in Informatica
Anno: Primo TICOM
Time Online: 9 Days, 23:17:40 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

dovete importare il package corretto, sempre che non sia un' eccezione di sistema.

__________________
Homepage personale (English version)
c/o segreteria didattica via comelico

02-02-2006 17:34
Click Here to See the Profile for Joda Click Here to See the Blog of Joda Click here to Send Joda a Private Message Visit Joda's homepage! Find more posts by Joda Add Joda to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sandrino83
maschio latino

User info:
Registered: Oct 2004
Posts: 376 (0.05 al dì)
Location:
Corso: Com Dig
Anno: finito
Time Online: 8 Days, 7:53:08: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

in ke senso....quale package.......non è un'eccezione di sistema.....penso

__________________
we are just two lost souls swimming in a fish bowl year after year....running over the same old ground....what have we found.......

02-02-2006 17:53
Click Here to See the Profile for sandrino83 Click here to Send sandrino83 a Private Message Find more posts by sandrino83 Add sandrino83 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sandrino83
maschio latino

User info:
Registered: Oct 2004
Posts: 376 (0.05 al dì)
Location:
Corso: Com Dig
Anno: finito
Time Online: 8 Days, 7:53:08: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

in ke senso....quale package.......non è un'eccezione di sistema.....penso........se modifico programma.java e in fondo nel catch sostituisco executionexception con exception funziona tutto a meraviglia...........

__________________
we are just two lost souls swimming in a fish bowl year after year....running over the same old ground....what have we found.......

02-02-2006 17:54
Click Here to See the Profile for sandrino83 Click here to Send sandrino83 a Private Message Find more posts by sandrino83 Add sandrino83 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Vikyg13
.arcimaestro.

User info:
Registered: Feb 2006
Posts: 290 (0.04 al dì)
Location:
Corso: Comunicazione Digitale
Anno: Primo
Time Online: 3 Days, 1:12:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Si vero, funziona anche a me se faccio quello che dice sandrino!Non so se mi funziona correttamente però il prgramma parte

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

User info:
Registered: Mar 2003
Posts: 1126 (0.14 al dì)
Location: Milano
Corso: Dottore in Informatica
Anno: Primo TICOM
Time Online: 9 Days, 23:17:40 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Vikyg13
Si vero, funziona anche a me se faccio quello che dice sandrino!Non so se mi funziona correttamente però il prgramma parte


dunque il package che Java carica di default è java.lang, infatti le classi String, Integer, etc fanno parte di questo package, mentre le altre bisogna eseguire l'import dei package idonei

l'eccezione incriminata è un'eccezione del package java.lang ? se si la deve vedere se no bisogna fare l'import della package idoneo.

import ????

attenta se è richiesto di catchare quella eccezione vuol dire che nel codice ci deve essere un catch(eccezione).

__________________
Homepage personale (English version)
c/o segreteria didattica via comelico

Last edited by Joda on 02-02-2006 at 18:03

02-02-2006 18:01
Click Here to See the Profile for Joda Click Here to See the Blog of Joda Click here to Send Joda a Private Message Visit Joda's homepage! Find more posts by Joda Add Joda to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Vikyg13
.arcimaestro.

User info:
Registered: Feb 2006
Posts: 290 (0.04 al dì)
Location:
Corso: Comunicazione Digitale
Anno: Primo
Time Online: 3 Days, 1:12:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Si ho capito cosa vuoi dire, ma l'import l'ho controllato, è corretto!!

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

User info:
Registered: Feb 2006
Posts: 290 (0.04 al dì)
Location:
Corso: Comunicazione Digitale
Anno: Primo
Time Online: 3 Days, 1:12:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ho risolto, sandrino,t sto mandando un pm

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

User info:
Registered: Mar 2003
Posts: 1126 (0.14 al dì)
Location: Milano
Corso: Dottore in Informatica
Anno: Primo TICOM
Time Online: 9 Days, 23:17:40 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Vikyg13
Si ho capito cosa vuoi dire, ma l'import l'ho controllato, è corretto!!


allora o non viene importata il package o non viene mai lanciata quel tipo di eccezione.

__________________
Homepage personale (English version)
c/o segreteria didattica via comelico

02-02-2006 18:05
Click Here to See the Profile for Joda Click Here to See the Blog of Joda Click here to Send Joda a Private Message Visit Joda's homepage! Find more posts by Joda Add Joda to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 22:38.    Post New Thread    Post A Reply
Pages (3): [1] 2 3 »   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.046 seconds (81.86% PHP - 18.14% MySQL) con 26 query.