Class EnvironmentFailureException

    • Constructor Detail

      • EnvironmentFailureException

        public EnvironmentFailureException​(java.lang.String message)
      • EnvironmentFailureException

        public EnvironmentFailureException​(java.lang.String message,
                                           java.lang.Throwable cause)
    • Method Detail

      • isRetriable

        public boolean isRetriable()
        Returns the assessment of the subsystem throwing the exception whether the failure could be temporarily and thus retrying the operation (on a higher level) could possibly help to cure the problem.

        This class will always return true, but sub classes can override the method.

        Overrides:
        isRetriable in class HighLevelException
        Returns:
        Whether retrying the operation can possibly rectify the situation or not.