Class PlatformWorkarounds

java.lang.Object
com.streambase.sb.client.PlatformWorkarounds

class PlatformWorkarounds extends Object
A class to hold some hacks for different platforms.
  • Method Details

    • isEOFException

      static boolean isEOFException(Throwable exception)
      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