Class InjectionException

    • Constructor Detail

      • InjectionException

        public InjectionException​(Throwable throwable)
        Creates a new exception with the given cause.
        Parameters:
        throwable - The cause of the exception
      • InjectionException

        public InjectionException​(String message,
                                  Throwable throwable)
        Creates a new exception with an arbitrary message and the cause of the exception. It is not recommended to use this constructor since the message cannot be localized.
        Parameters:
        message - The error message
        throwable - The cause of the exception or wrapped throwable