Uses of Enum
com.lokalized.TranslationFailureReason
-
Uses of TranslationFailureReason in com.lokalized
Subclasses with type arguments of type TranslationFailureReason in com.lokalizedModifier and TypeClassDescriptionenumReasons a localized string lookup can fail.Methods in com.lokalized that return TranslationFailureReasonModifier and TypeMethodDescriptionMissingTranslationException.getReason()Gets the final failure reason.TranslationFailure.getReason()Gets the reason the lookup failed.static TranslationFailureReasonReturns the enum constant of this type with the specified name.static TranslationFailureReason[]TranslationFailureReason.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.lokalized that return types with arguments of type TranslationFailureReasonModifier and TypeMethodDescriptionTranslationResult.getFailureReason()Gets the final lookup failure reason for handler-produced results.Methods in com.lokalized with parameters of type TranslationFailureReasonModifier and TypeMethodDescriptionTranslationFallbackPolicy.shouldTryNextLocale(@NonNull TranslationFailureReason reason, @NonNull Locale attemptedLocale, @Nullable Throwable cause) Determines whether resolution should continue with the next locale candidate.Constructors in com.lokalized with parameters of type TranslationFailureReasonModifierConstructorDescriptionMissingTranslationException(@NonNull String message, @NonNull String key, @NonNull Map<@NonNull String, @Nullable Object> placeholders, @NonNull Locale lookupLocale, @NonNull TranslationFailureReason reason, @NonNull List<@NonNull Locale> attemptedLocales) Constructs an exception with the complete failed-lookup outcome.MissingTranslationException(@NonNull String message, @NonNull String key, @NonNull Map<@NonNull String, @Nullable Object> placeholders, @NonNull Locale lookupLocale, @Nullable LocaleMatchResult localeMatchResult, @NonNull TranslationFailureReason reason, @NonNull List<@NonNull Locale> attemptedLocales) Constructs an exception with complete failed-lookup and locale-negotiation diagnostics.TranslationResult(@NonNull String key, @NonNull String translation, @NonNull Locale lookupLocale, @Nullable LocaleMatchResult localeMatchResult, @Nullable Locale resolvedLocale, @NonNull List<@NonNull Locale> attemptedLocales, @NonNull TranslationResultStatus status, @Nullable TranslationFailureReason failureReason, @Nullable Throwable cause) Constructs a translation result with locale-negotiation diagnostics.TranslationResult(@NonNull String key, @NonNull String translation, @NonNull Locale lookupLocale, @Nullable Locale resolvedLocale, @NonNull List<@NonNull Locale> attemptedLocales, @NonNull TranslationResultStatus status, @Nullable TranslationFailureReason failureReason, @Nullable Throwable cause) Constructs a translation result.