Package com.launchdarkly.sdk.android
Class LDFailure
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.launchdarkly.sdk.android.LaunchDarklyException
-
- com.launchdarkly.sdk.android.LDFailure
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
LDInvalidResponseCodeFailure
public class LDFailure extends LaunchDarklyException
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LDFailure.FailureType
Enumerated type defining the possible values ofgetFailureType()
.
-
Constructor Summary
Constructors Constructor Description LDFailure(java.lang.String message, LDFailure.FailureType failureType)
LDFailure(java.lang.String message, java.lang.Throwable cause, LDFailure.FailureType failureType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LDFailure.FailureType
getFailureType()
-
-
-
Constructor Detail
-
LDFailure
public LDFailure(java.lang.String message, @NonNull LDFailure.FailureType failureType)
-
LDFailure
public LDFailure(java.lang.String message, java.lang.Throwable cause, @NonNull LDFailure.FailureType failureType)
-
-
Method Detail
-
getFailureType
@NonNull public LDFailure.FailureType getFailureType()
-
-