private void printThrows(ExecutableDeclaration d) {
            Collection<ReferenceType> thrownTypes = d.getThrownTypes();
            final int size = thrownTypes.size();
            if (size != 0) {
                System.out.print(" throws");

                int i = 1;
                for(ReferenceType thrownType: thrownTypes) {
                    if (i == 1) {
                        System.out.print(" ");
                    }

                    if (i == 2)
                        PrintingVisitors.this.indentation++;

                    if (i >= 2)
                        System.out.print(PrintingVisitors.this.indent());

                    System.out.print(thrownType.toString());


                    if (i != size) {
                        System.out.println(", ");
                    }
                    i++;
                }

                if (size >= 2)
                    PrintingVisitors.this.indentation--;
            }
        }