Class LDFailure

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LDInvalidResponseCodeFailure

public class LDFailure extends LaunchDarklyException
Container class representing a communication failure with LaunchDarkly servers.
See Also:
  • Constructor Details

    • LDFailure

      public LDFailure(String message, @NonNull LDFailure.FailureType failureType)
      Parameters:
      message - the message
      failureType - the failure type
    • LDFailure

      public LDFailure(String message, Throwable cause, @NonNull LDFailure.FailureType failureType)
      Parameters:
      message - the message
      cause - the cause of the failure
      failureType - the failure type
  • Method Details