tp10
This commit is contained in:
5
DEV2.1/Exception/ex1/RuntimeExceptionExample.java
Normal file
5
DEV2.1/Exception/ex1/RuntimeExceptionExample.java
Normal file
@@ -0,0 +1,5 @@
|
||||
public class RuntimeExceptionExample {
|
||||
public static void main(String[] args) {
|
||||
throw new UnsupportedOperationException("Operation not supported"); // Lancement d'une exception d'opération non supportée
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user