Practica para entender excepciones.
Crea exepciones personalizadas y compara las siguientes casuisticas:
try
{
...
}
catch(Exception ex)
{
throw new Excepcion("...");
}
try
{
...
}
catch(Exception ex)
{
throw new Excepcion("...", ex);
}
try
{
...
}
catch(Exception ex)
{
throw ex;
}
try
{
...
}
catch(Exception ex)
{
throw;
}