почему у меня засчиталось такое решение? по сути оно не верное
public class Solution implements Serializable {
    public static class SubSolution extends Solution {

        public SubSolution() throws IOException {
            throw new NotSerializableException();
        }
    }

    public static void main(String[] args) throws IOException {
    }
}