<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>https://manuais.iessanclemente.net/index.php?action=history&amp;feed=atom&amp;title=El_comando_Try...Catch</id>
	<title>El comando Try...Catch - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="https://manuais.iessanclemente.net/index.php?action=history&amp;feed=atom&amp;title=El_comando_Try...Catch"/>
	<link rel="alternate" type="text/html" href="https://manuais.iessanclemente.net/index.php?title=El_comando_Try...Catch&amp;action=history"/>
	<updated>2026-10-21T20:46:14Z</updated>
	<subtitle>Historial de revisiones de esta página en la wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://manuais.iessanclemente.net/index.php?title=El_comando_Try...Catch&amp;diff=3610&amp;oldid=prev</id>
		<title>Veiga en 22:30 23 ene 2008</title>
		<link rel="alternate" type="text/html" href="https://manuais.iessanclemente.net/index.php?title=El_comando_Try...Catch&amp;diff=3610&amp;oldid=prev"/>
		<updated>2008-01-23T22:30:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;El comando &amp;#039;&amp;#039;&amp;#039;try&amp;#039;&amp;#039;&amp;#039; permite ejecutar un bloque de código en búsqueda de errores. &lt;br /&gt;
&lt;br /&gt;
Dentro de &amp;#039;&amp;#039;&amp;#039;try&amp;#039;&amp;#039;&amp;#039; se pone el bloque de código a ejecutar, y  dentro de &amp;#039;&amp;#039;&amp;#039;catch()&amp;#039;&amp;#039;&amp;#039; se pone el bloque de código a ser ejecutado, si ocurre algún error.&lt;br /&gt;
&lt;br /&gt;
Sintaxis&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=javascript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
try {&lt;br /&gt;
&lt;br /&gt;
  //ejecutar este código&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
catch(fallo) &lt;br /&gt;
{&lt;br /&gt;
   // Si se produce algún error, en el objeto fallo  y en las propiedades .name y .message almacenará la información del error.&lt;br /&gt;
&lt;br /&gt;
   alert( fallo.name + &amp;#039;: &amp;#039; + fallo.message );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Veiga</name></author>
	</entry>
</feed>