question: private static final void showCorruptionError ( Throwable err ) { err . printStackTrace ( ) ; StringWriter sw = new StringWriter ( ) ; PrintWriter pw = new PrintWriter ( sw ) ; pw . println ( "FrostWire version " + FrostWireUtils . getFrostWireVersion ( ) ) ; pw . print ( "Java version " ) ; pw . print ( System . getProperty ( "java.version" , "?" ) ) ; pw . print ( " from " ) ; pw . println ( System . getProperty ( "java.vendor" , "?" ) ) ; pw . print ( System . getProperty ( "os.name" , "?" ) ) ; pw . print ( " v. " ) ; pw . print ( System . getProperty ( "os.version" , "?" ) ) ; pw . print ( " on " ) ; pw . println ( System . getProperty ( "os.arch" , "?" ) ) ; Runtime runtime = Runtime . getRuntime ( ) ; pw . println ( "Free/total memory: " + runtime . freeMemory ( ) + "/" + runtime . totalMemory ( ) ) ; pw . println ( ) ; err . printStackTrace ( pw ) ; pw . println ( ) ; pw . println ( "STARTUP ERROR!" ) ; pw . println ( ) ; File propsFile = new File ( getUserSettingsDir ( ) , "frostwire.props" ) ; Properties props = new Properties ( ) ; try { FileInputStream fis = new FileInputStream ( propsFile ) ; props . load ( fis ) ; fis . close ( ) ; props . list ( pw ) ; } catch ( FileNotFoundException fnfe ) { } catch ( IOException ioe ) { } pw . flush ( ) ; displayError ( sw . toString ( ) ) ; }
target:  Display a standardly formatted internal error message coming from the backend.