MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / showErrorMessage

Method showErrorMessage

ij/src/main/java/ij/io/FileSaver.java:703–710  ·  view source on GitHub ↗
(String title, String path, IOException e)

Source from the content-addressed store, hash-verified

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);

Callers 7

saveAsTiffMethod · 0.95
saveAsTiffStackMethod · 0.95
saveAsZipMethod · 0.95
saveAsRawMethod · 0.95
saveAsRawStackMethod · 0.95
saveAsTextMethod · 0.95
saveAsLutMethod · 0.95

Calls 5

errorMethod · 0.95
showProgressMethod · 0.95
substringMethod · 0.80
lengthMethod · 0.65
getMessageMethod · 0.45

Tested by

no test coverage detected