private static void initExceptions() { // The first exception try { float i = 1 / 0; } //write your code catch (TypeNotPresentException e){ exceptions.add(e); } catch (SecurityException e){ exceptions.add(e); } catch (EnumConstantNotPresentException e){ exceptions.add(e); } catch (IllegalStateException e){ exceptions.add(e); } catch (UnsupportedOperationException e){ exceptions.add(e); } catch (NumberFormatException e){ exceptions.add(e); } catch (ClassCastException e) { exceptions.add(e); } catch (ArithmeticException e) { exceptions.add(e); } catch (RuntimeException e){ exceptions.add(e); } catch (Exception e) { exceptions.add(e); }