@@ -0,0 +1,911 @@
+package com.javarush.task.task09.task0913;%0A%0Aimport java.io.FileNotFoundException;%0Aimport java.net.URISyntaxException;%0A%0A/* %0A%D0%98%D1%81%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D1%8F. %D0%9F%D1%80%D0%BE%D1%81%D1%82%D0%BE %D0%B8%D1%81%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D1%8F.%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) throws Exception %7B%0A        //%D0%BD%D0%B0%D0%BF%D0%B8%D1%88%D0%B8%D1%82%D0%B5 %D1%82%D1%83%D1%82 %D0%B2%D0%B0%D1%88 %D0%BA%D0%BE%D0%B4%0A        try %7B%0A            method1();%0A        %7D%0A        //%D0%BD%D0%B0%D0%BF%D0%B8%D1%88%D0%B8%D1%82%D0%B5 %D1%82%D1%83%D1%82 %D0%B2%D0%B0%D1%88 %D0%BA%D0%BE%D0%B4%0A        catch (NullPointerException e) %7B%0A%0A        %7D%0A        catch (FileNotFoundException e) %7B%0A%0A        %7D%0A    %7D%0A%0A    public static void method1() throws NullPointerException, ArithmeticException, FileNotFoundException, URISyntaxException %7B%0A        int i = (int) (Math.random() * 4);%0A        if (i == 0)%0A            throw new NullPointerException();%0A        if (i == 1)%0A            throw new ArithmeticException();%0A        if (i == 2)%0A            throw new FileNotFoundException();%0A        if (i == 3)%0A            throw new URISyntaxException(%22%22, %22%22);%0A    %7D%0A%7D%0A

Complete task0913