?
package pl.codegym.task.task09.task0918;
/*
Wszyscy są naszymi kumplami, nawet wyjątki
*/
public class Solution {
public static void main(String[] args) {
}
static class MyException extends Exception{
throw new URISyntaxException;
}
static class MyException2 extends MyException{
throw new NullPointerException();
}
static class MyException3 extends MyException2{
throw new FileNotFoundException();
}
static class MyException4 extends MyException3{
throw new NoSuchFieldException();
}
}