I think I have the inheritance correct (it says to base it off of Task 2).
It's the part about 2 checked and 2 unchecked I'm not following. Lesson 4 said the difference was basically the use of "throws" to designate which ones are checked and which are unchecked. I have specified that it throws two of them (it doesn't say which ones have to be thrown).
The other tasks in this lesson were easy (including the "Medium" one), but this one has me utterly lost. I think I'm just not understanding the question.
package com.codegym.task.task09.task0918;
/*
We're all friends here, even the exceptions
*/
public class Solution
{
public static void main(String[] args) throws MyException, MyException2
{
}
static class MyException extends Exception
{
}
static class MyException2 extends MyException
{
}
static class MyException3 extends MyException2
{
}
static class MyException4 extends MyException3
{
}
}