mirror of
https://gitlab.com/tutorial-java-rafa-munoz/tutorial-java-2024-25/tutorialjava2024-25.git
synced 2025-11-09 18:03:09 +01:00
feat(exceptions ch 7): changes into main method
This commit is contained in:
@@ -197,12 +197,12 @@ public class EjemploExcepcionesBasico {
|
|||||||
*/
|
*/
|
||||||
public static void main (String args[]) {
|
public static void main (String args[]) {
|
||||||
|
|
||||||
// ejemploExceptionGeneral();
|
ejemploExceptionGeneral();
|
||||||
// ejemploNullPointerException();
|
// ejemploNullPointerException();
|
||||||
// ejemploArithmeticException();
|
// ejemploArithmeticException();
|
||||||
//ejemploClassCastException();
|
// ejemploClassCastException();
|
||||||
//ejemploIndexOutOfBoundsException();
|
// ejemploIndexOutOfBoundsException();
|
||||||
//ejemploNumberFormatException();
|
// ejemploNumberFormatException();
|
||||||
ejemploClassNotFoundException();
|
// ejemploClassNotFoundException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user