NotAvailableInTestEnvironmentException

class NotAvailableInTestEnvironmentException(message: String) : TegralDiException

Error thrown when a feature that does not exist in controlled test environments (e.g. environments internally used by tegralDiCheck checks) is accessed. If you did not initiate the missing feature yourself:

  • Ensure that you are using only safe injections (see the safeInjection check)

  • Otherwise, consider reporting it, as it may be a bug from Tegral DI's checks.

Constructors

Link copied to clipboard
fun NotAvailableInTestEnvironmentException(message: String)

Functions

Link copied to clipboard
fun addSuppressed(p0: Throwable)
Link copied to clipboard
open fun fillInStackTrace(): Throwable
Link copied to clipboard
open fun getLocalizedMessage(): String
Link copied to clipboard
open fun getStackTrace(): Array<StackTraceElement>
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
Link copied to clipboard
open fun initCause(p0: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter)
Link copied to clipboard
open fun setStackTrace(p0: Array<StackTraceElement>)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?