@@ -0,0 +1,1443 @@
+package com.javarush.task.task09.task0915;%0A%0Aimport java.io.CharConversionException;%0Aimport java.io.IOException;%0Aimport java.nio.file.FileSystemException;%0A%0A/* %0A%D0%9F%D0%B5%D1%80%D0%B5%D1%85%D0%B2%D0%B0%D1%82 %D0%B2%D1%8B%D0%B1%D0%BE%D1%80%D0%BE%D1%87%D0%BD%D1%8B%D1%85 %D0%B8%D1%81%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D0%B9%0A*/%0A%0Apublic class Solution %7B%0A    public static StatelessBean BEAN = new StatelessBean();%0A%0A    public static void main(String%5B%5D args) %7B%0A        try %7B%0A            processExceptions();%0A        %7D%0A        catch (FileSystemException e) %7B%0A            BEAN.log(e);%0A        %7D%0A    %7D%0A%0A    public static void processExceptions() throws FileSystemException %7B%0A        try %7B%0A            BEAN.methodThrowExceptions();%0A        %7D%0A        catch (FileSystemException e) %7B%0A            BEAN.log(e);%0A            throw e;%0A        %7D%0A        catch (CharConversionException e) %7B%0A            BEAN.log(e);%0A        %7D%0A        catch (IOException e) %7B%0A            BEAN.log(e);%0A        %7D%0A    %7D%0A%0A    public static class StatelessBean %7B%0A        public void log(Exception exception) %7B%0A            System.out.println(exception.getMessage() + %22, %22 + exception.getClass().getSimpleName());%0A        %7D%0A%0A        public void methodThrowExceptions() throws CharConversionException, FileSystemException, IOException %7B%0A            int i = (int) (Math.random() * 3);%0A            if (i == 0)%0A                throw new CharConversionException();%0A            if (i == 1)%0A                throw new FileSystemException(%22%22);%0A            if (i == 2)%0A                throw new IOException();%0A        %7D%0A    %7D%0A%7D%0A

Complete task0915