Revision 40955 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app.document.table.app/org.gvsig.app.document.table.app.mainplugin/src/main/java/org/gvsig/app/project/documents/table/TableOperations.java

View differences:

TableOperations.java
408 408

  
409 409
    }
410 410
    
411
    /**
412
     * @param ex
413
     * @return
414
     */
415
    private static String getLastMessage(Throwable ex) {
416
        
417
        Throwable p = ex;
418
        while (p.getCause() != null && p.getCause() != p) {
419
            p = p.getCause();
420
        }
421
        return p.getMessage();
422
    }
423 411

  
412

  
424 413
    /**
425 414
     * Renames field in feature store
426 415
     * 

Also available in: Unified diff