use of org.apache.hadoop.fs.PathIOException in project hadoop by apache.
the class TestPathExceptions method testWithCustomString.
@Test
public void testWithCustomString() throws Exception {
PathIOException pe = new PathIOException(path, error);
assertEquals(new Path(path), pe.getPath());
assertEquals("`" + path + "': " + error, pe.getMessage());
}
Aggregations