java.lang.Object
dk.cloudcreate.essentials.components.foundation.IOExceptionUtil

public final class IOExceptionUtil extends Object
Helper class to resolve IO, Connection, Transaction, Socket exception
  • Constructor Details

    • IOExceptionUtil

      public IOExceptionUtil()
  • Method Details

    • isIOException

      public static boolean isIOException(Throwable e)
      Is the exception provided an IO, Transaction, Connection or Socket style exception (across Mongo and Postgresql/JDBC/JPA) - i.e. a transient style of error
      Parameters:
      e - the exception that occurred
      Returns:
      true if the exception is determined to be an IO, Transaction, Connection or Socket style exception (across Mongo and Postgresql/JDBC/JPA) - i.e. a transient style of error