(String title, String path, IOException e)
| 701 | } |
| 702 | |
| 703 | private void showErrorMessage(String title, String path, IOException e) { |
| 704 | String msg = e.getMessage(); |
| 705 | if (msg.length()>100) |
| 706 | msg = msg.substring(0, 100); |
| 707 | msg = "File saving error (IOException):\n \"" + msg + "\""; |
| 708 | IJ.error("FileSaver."+title, msg+" \n "+path); |
| 709 | IJ.showProgress(1.0); |
| 710 | } |
| 711 | |
| 712 | private void error(String msg) { |
| 713 | IJ.error("FileSaver", msg); |
no test coverage detected