Package 

Class BorgException.DroneNotAssimilatedException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public final class BorgException.DroneNotAssimilatedException
    extends BorgException
                        

    Thrown when attempting to access a drone's result before it has been initialized.

    Common scenarios:

    • Accessing drone outside of assimilation process

    • Race condition in parallel initialization

    • Missing dependency declaration

    • Incorrect initialization order

    Best practices:

    • Always declare dependencies in requiredDrones()

    • Use requireAssimilated() only when certain of initialization

    • Handle potential DroneNotAssimilatedException in async code

    • Consider lazy initialization for optional dependencies

    • Method Summary

      Modifier and Type Method Description
      final Class<?> getDrone()
      Throwable getCause()
      String getMessage()
      • Methods inherited from class java.lang.Exception

        addSuppressed, fillInStackTrace, getLocalizedMessage, 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