Fw: [Corsopoc] Eccezioni

Haran Banjo shadow81@ciaoweb.it
Fri, 31 Jan 2003 16:39:26 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0017_01C2C947.517C0B20
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Da tastiera sollevo un Interrupt e non un eccezione,cosa che =E8 =
definita dal programmatore come ben sapete...certo questo poteva essere =
un trucche to ma abbiamo studiato le eccezioni e quindi questa era =
chiara...
----- Original Message -----=20
From: Haran Banjo=20
To: Michele Favara Pedarsi=20
Sent: Thursday, January 30, 2003 11:29 PM
Subject: Re: [Corsopoc] Eccezioni


Da tastiera sollevo un Interrupt e non un eccezione,cosa che =E8 =
definita dal programmatore come ben sapete...certo questo poteva essere =
un trucche to ma abbiamo studiato le eccezioni e quindi questa era =
chiara...
  ----- Original Message -----=20
  From: Michele Favara Pedarsi=20
  To: corsopoc@list.uniroma2.it=20
  Sent: Wednesday, January 29, 2003 12:50 AM
  Subject: R: [Corsopoc] Eccezioni


  Io invece ho risposto vero. semplicemente perch=E9 posso fare =
l'eccezione che voglio, compresa una qualsiasi sequenza di caratteri da =
tastiera od un evento da un qualsiasi dispositivo.

  =20

  Sarebbe utile poter avere le soluzioni dei compiti oppure almeno di =
sapere quali risposte sono state sbagliate ed averne una rapida =
spiegazione.

  =20

  Ciao

  =20

  Mik

  =20

  -----Messaggio originale-----
  Da: corsopoc-admin@list.uniroma2.it =
[mailto:corsopoc-admin@list.uniroma2.it] Per conto di Daniele ------
  Inviato: mercoled=EC 29 gennaio 2003 0.05
  A: Poc
  Oggetto: Re: [Corsopoc] Eccezioni

  =20

   =20

  La stessa domanda l'avevo anche io. Io ho risposto che non pu=F2 =
sollevare direttamente eccezioni ragionando sul fatto che quando leggi =
da tastiera in java in realta leggi una linea di caratteri unicode =
quindi l'eccezione pu=F2 essere catturata per es. nella conversione =
dell'input in un int, e quindi essa non =E8 generata direttamente dalla =
tastiera.

  =20


-------------------------------------------------------------------------=
-----

  Do you Yahoo!?
  Yahoo! Mail Plus - Powerful. Affordable. Sign up now

------=_NextPart_000_0017_01C2C947.517C0B20
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:v =3D=20
"urn:schemas-microsoft-com:vml" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3DWord.Document name=3DProgId>
<META content=3D"MSHTML 6.00.2800.1126" name=3DGENERATOR>
<META content=3D"Microsoft Word 10" name=3DOriginator><LINK=20
href=3D"cid:filelist.xml@01C2C730.6C6D3850" rel=3DFile-List><LINK=20
href=3D"cid:editdata.mso@01C2C730.6C6D3850" rel=3DEdit-Time-Data><!--[if =
!mso]>
<STYLE>v\:* {
	BEHAVIOR: url(#default#VML)
}
o\:* {
	BEHAVIOR: url(#default#VML)
}
w\:* {
	BEHAVIOR: url(#default#VML)
}
.shape {
	BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:HyphenationZone>14</w:HyphenationZone>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:UseFELayout/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<STYLE>
<!--
 /* Font Definitions */
 @font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;
	mso-font-alt:\5B8B\4F53;
	mso-font-charset:134;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
@font-face
	{font-family:"\@SimSun";
	panose-1:2 1 6 0 3 1 1 1 1 1;
	mso-font-charset:134;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:3 135135232 16 0 262145 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:SimSun;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
p
	{mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:SimSun;}
span.StileMessaggioDiPostaElettronica18
	{mso-style-type:personal-reply;
	mso-style-noshow:yes;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:navy;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:70.85pt 2.0cm 2.0cm 2.0cm;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</STYLE>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Tabella normale";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY lang=3DIT style=3D"tab-interval: 35.4pt" vLink=3Dblue link=3Dblue =
bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Da tastiera sollevo un Interrupt e non =
un=20
eccezione,cosa che =E8 definita dal programmatore come ben =
sapete...certo questo=20
poteva essere un trucche to ma abbiamo studiato le eccezioni e quindi =
questa era=20
chiara...</FONT></DIV>
<DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
<DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20
title=3Dshadow81@ciaoweb.it href=3D"mailto:shadow81@ciaoweb.it">Haran =
Banjo</A>=20
</DIV>
<DIV><B>To:</B> <A title=3Dmik.fp@commentaria.com=20
href=3D"mailto:mik.fp@commentaria.com">Michele Favara Pedarsi</A> </DIV>
<DIV><B>Sent:</B> Thursday, January 30, 2003 11:29 PM</DIV>
<DIV><B>Subject:</B> Re: [Corsopoc] Eccezioni</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>Da tastiera sollevo un Interrupt e non =
un=20
eccezione,cosa che =E8 definita dal programmatore come ben =
sapete...certo questo=20
poteva essere un trucche to ma abbiamo studiato le eccezioni e quindi =
questa era=20
chiara...</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dmik.fp@commentaria.com =
href=3D"mailto:mik.fp@commentaria.com">Michele=20
  Favara Pedarsi</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dcorsopoc@list.uniroma2.it=20
  =
href=3D"mailto:corsopoc@list.uniroma2.it">corsopoc@list.uniroma2.it</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, January 29, =
2003 12:50=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> R: [Corsopoc] =
Eccezioni</DIV>
  <DIV><BR></DIV>
  <DIV class=3DSection1>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Io invece =
ho risposto=20
  vero=85 semplicemente perch=E9 posso fare l=92eccezione che voglio, =
compresa una=20
  qualsiasi sequenza di caratteri da tastiera od un evento da un =
qualsiasi=20
  dispositivo=85<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Sarebbe =
utile poter=20
  avere le soluzioni dei compiti oppure almeno di sapere quali risposte =
sono=20
  state sbagliate ed averne una rapida =
spiegazione.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">Ciao<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><SPAN class=3DSpellE><FONT face=3DArial =
color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">Mik</SPAN></FONT></SPAN><FONT=20
  face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 35.4pt"><SPAN =
class=3DGramE><FONT=20
  face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">-----Messaggio</SPAN></FONT></SPAN><FONT=20
  face=3DTahoma size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">=20
  originale-----<BR><B><SPAN style=3D"FONT-WEIGHT: bold">Da:</SPAN></B>=20
  corsopoc-admin@list.uniroma2.it =
[mailto:corsopoc-admin@list.uniroma2.it]=20
  <B><SPAN style=3D"FONT-WEIGHT: bold">Per conto di </SPAN></B>Daniele=20
  ------<BR><B><SPAN style=3D"FONT-WEIGHT: bold">Inviato:</SPAN></B> =
mercoled=EC 29=20
  gennaio 2003 0.05<BR><B><SPAN style=3D"FONT-WEIGHT: =
bold">A:</SPAN></B>=20
  Poc<BR><B><SPAN style=3D"FONT-WEIGHT: bold">Oggetto:</SPAN></B> Re: =
[Corsopoc]=20
  Eccezioni</SPAN></FONT></P>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 35.4pt"><FONT face=3D"Times =
New Roman"=20
  size=3D3><SPAN style=3D"FONT-SIZE: =
12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P style=3D"MARGIN-LEFT: 35.4pt"><FONT face=3D"Times New Roman" =
size=3D3><SPAN=20
  style=3D"FONT-SIZE: 12pt">&nbsp; <o:p></o:p></SPAN></FONT></P>
  <P style=3D"MARGIN-LEFT: 35.4pt"><FONT face=3D"Times New Roman" =
size=3D3><SPAN=20
  style=3D"FONT-SIZE: 12pt">La stessa domanda l'avevo anche io. Io ho =
risposto che=20
  non pu=F2 sollevare direttamente eccezioni ragionando sul fatto che =
quando leggi=20
  da tastiera in java in realta leggi una linea di caratteri unicode =
quindi=20
  l'eccezione pu=F2 essere catturata per es. nella conversione =
dell'input in un=20
  int, e quindi essa non =E8 generata direttamente dalla=20
  tastiera.<o:p></o:p></SPAN></FONT></P>
  <P style=3D"MARGIN-LEFT: 35.4pt"><FONT face=3D"Times New Roman" =
size=3D3><SPAN=20
  style=3D"FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <DIV class=3DMsoNormal style=3D"MARGIN-LEFT: 35.4pt; TEXT-ALIGN: =
center"=20
  align=3Dcenter><FONT face=3D"Times New Roman" size=3D3><SPAN=20
style=3D"FONT-SIZE: 12pt">
  <HR align=3Dcenter width=3D"100%" SIZE=3D1>
  </SPAN></FONT></DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 35.4pt"><FONT face=3D"Times =
New Roman"=20
  size=3D3><SPAN style=3D"FONT-SIZE: 12pt">Do you Yahoo<SPAN=20
  class=3DGramE>!?</SPAN><BR><A=20
  =
href=3D"http://rd.yahoo.com/mail/mailsig/*http:/mailplus.yahoo.com">Yahoo=
! Mail=20
  Plus</A> - Powerful. Affordable. <A=20
  =
href=3D"http://rd.yahoo.com/mail/mailsig/*http:/mailplus.yahoo.com">Sign =
up=20
  now</A><o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0017_01C2C947.517C0B20--