Si se permiten múltiples excepciones en catch(), reducirá la cantidad de código de manejo de error redundante. por ejemplo,Múltiples tipos diferentes de manejo de excepciones en un bloque catch?
try{
// some statments
}
catch(Type1Exception t1, Type2Exception t2, Type3Exception t3) { // wish if this could be allowed
/* t1, t2, t3 are children of Exception and needs same error handling then why to have different catch blocks with same piece of code */
}
http://download.oracle.com/javase/tutorial/essential/exceptions/index.html – mKorbel
@mKorbel: Y ...? – mellamokb
@Closer: ¡Realmente no entiendo a las personas que votan para cerrar una pregunta porque no ven un signo de interrogación en ella! Vamos, esta es una pregunta interesante! –