Class ScanViewConfigRunValidationException.MlKitModuleMissing

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class ScanViewConfigRunValidationException.MlKitModuleMissing
    extends ScanViewConfigRunValidationException
                        

    A feature was enabled in the configuration without its Google ML Kit module on the runtime classpath.

    Google ML Kit is an opt-in dependency: the SDK declares it compileOnly, so an integrator adds it only for the feature they use (see MSDK-1548). Rather than silently disabling the feature, the SDK fails so the misconfiguration cannot ship unnoticed. The message names the missing module and how to resolve it.

    Catch this type to handle either module being absent, or the subtypes to tell them apart.

    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class kotlin.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail