Code examples for IOException

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
43:	log.warn(e, "Got exception!!!! Going to delete parentDir[%s]", parentDir); 
-
48:	log.error(e, "Problem deleting parentDir[%s]", parentDir); 
-
50:	throw new SegmentLoadingException(e, "%s", e.getMessage()); 
Full Snippet Info
9
CodeRank
54:	throw new IOException("wrong lzf compressed header [" + Arrays.toString(header) + "]"); 
Full Snippet Info
8
CodeRank
104:	GenericTestUtils.assertExceptionContains( 
-
106:	System.out.println(e.toString()); 
-
117:	GenericTestUtils.assertExceptionContains("Unexpected empty line", e); 
118:	System.out.println(e.toString()); 
-
129:	GenericTestUtils.assertExceptionContains("Could not parse line: ", e); 
130:	System.out.println(e.toString()); 
Full Snippet Info
8
CodeRank
237:	IOException ioe = new IOException(); 
238:	ioe.initCause(uee); 
239:	ioe.setStackTrace(uee.getStackTrace()); 
Full Snippet Info
8
CodeRank
77:	IOException newE = new IOException("WritableName can't load class: " + name); 
78:	newE.initCause(e); 
Full Snippet Info
8
CodeRank
115:	return ERROR_UNKNOWN.createResult(e.getMessage(), e); 
Full Snippet Info
8
CodeRank
46:	Log.d(TAG, "Error setting camera preview: " + e.getMessage()); 
Full Snippet Info
8
CodeRank
71:	Log.d(TAG, e.getMessage(), e); 
-
78:	Log.d(TAG, e.getMessage(), e); 
Full Snippet Info
8
CodeRank
55:	throw new IOException("Expected handle header, got [" + b + "]"); 
Full Snippet Info
8
CodeRank
43:	IOException ioe = new IOException("KABOOM"); 
44:	PathIOException pe = new PathIOException(path, ioe); 
Full Snippet Info
7
CodeRank
53:	throw new IOException("Stream closed"); 
Full Snippet Info
7
CodeRank
77:	LOG.e("generateWebResourceResponse", e.getMessage(), e); 
Full Snippet Info
7
CodeRank
34:	final IOException wrappedException = new IOException(message); 
35:	wrappedException.initCause(e); 
Full Snippet Info
7
CodeRank
93:	throw new IOException("Stream closed"); 
Full Snippet Info
7
CodeRank
39:	if (ioe.getMessage()!=null && ioe.getMessage().startsWith(DISK_ERROR)) { 
40:	return (IOException)ioe.getCause(); 
Full Snippet Info
7
CodeRank
235:	logger.error(e.getMessage(), e); 
Full Snippet Info
7
CodeRank
122:	throw new IOException("Bad HTTP response: " + responseCode); 
Full Snippet Info
8
CodeRank
77:	given(file.getBytes()).willThrow(new IOException()); 
Full Snippet Info
7
CodeRank
67:	throw new DatabusException("OracleRelay instantiation error: " + ioe.getMessage(), ioe); 
Full Snippet Info
7
CodeRank
68:	throw new IOException(MessageFormat.format("Invalid UTF-8 first byte: {0}", firstByte)); 
Full Snippet Info
7
CodeRank