1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 07:05:24 +02:00

Reverting to IOException(String) since IOException(Throwable) turns out to be unavailable in JDK1.4

This commit is contained in:
Radoslav Gerganov 2008-05-13 11:45:15 +00:00
parent 928cb62bc2
commit 38a8e98b19

View file

@ -498,7 +498,7 @@ public class WinCEFileService extends AbstractFileService implements IWinCEServi
int br = session.readFile(handle, b);
return (br == -1) ? -1 : b[0];
} catch (RapiException e) {
throw new IOException(e);
throw new IOException(e.getMessage());
}
}
@ -506,7 +506,7 @@ public class WinCEFileService extends AbstractFileService implements IWinCEServi
try {
return session.readFile(handle, b, off, len);
} catch (RapiException e) {
throw new IOException(e);
throw new IOException(e.getMessage());
}
}
@ -514,7 +514,7 @@ public class WinCEFileService extends AbstractFileService implements IWinCEServi
try {
session.closeHandle(handle);
} catch (RapiException e) {
throw new IOException(e);
throw new IOException(e.getMessage());
}
}
@ -534,7 +534,7 @@ public class WinCEFileService extends AbstractFileService implements IWinCEServi
try {
session.writeFile(handle, new byte[] {(byte)b});
} catch (RapiException e) {
throw new IOException(e);
throw new IOException(e.getMessage());
}
}
@ -542,7 +542,7 @@ public class WinCEFileService extends AbstractFileService implements IWinCEServi
try {
session.writeFile(handle, b, off, len);
} catch (RapiException e) {
throw new IOException(e);
throw new IOException(e.getMessage());
}
}
@ -550,7 +550,7 @@ public class WinCEFileService extends AbstractFileService implements IWinCEServi
try {
session.closeHandle(handle);
} catch (RapiException e) {
throw new IOException(e);
throw new IOException(e.getMessage());
}
}
}