private void createDaoExceptions() {

        sb = new StringBuilder();
        String filePath = "src/main/java/" + packageToPath() + "/util/DaoException.java";
        File file = new File( filePath );

        if ( !file.exists() ) {
            sb.append( "package " + table.getPackage() + ".util;\n" + "\n"
                    + "public class DaoException extends Exception {\n" + TAB + "\n" + TAB
                    + "private static final long serialVersionUID = 1L;\n" + "\n" + TAB
                    + "public DaoException(Throwable e) {\n" + TAB + TAB + "super(e);\n" + TAB + "}\n" + "\n" + TAB
                    + "public DaoException(String msg) {\n" + TAB + TAB + "super(msg);\n" + TAB + "}\n" + "\n" + TAB
                    + "public DaoException(String msg, Throwable e) {\n" + TAB + TAB + "super(msg, e);\n" + TAB + "}\n"
                    + "\n\n" );
            sb.append( getProtectedJavaLines( filePath ) );
            writeToFile( filePath, sb.toString() );
        }

    }