Package com.streambase.sb.client
Class PlatformWorkarounds
java.lang.Object
com.streambase.sb.client.PlatformWorkarounds
A class to hold some hacks for different platforms.
-
Method Summary
Modifier and TypeMethodDescription(package private) static boolean
isEOFException
(Throwable exception) Figure out if this exception is an End of File.
-
Method Details
-
isEOFException
Figure out if this exception is an End of File. In some circumstances java will provide an EOFException, which is easy to sort out. In other situations the only way you can tell is by the exception message. Linux and Windows have different error messages- Parameters:
exception
-- Returns:
- if this exception is an End of File
-