Interface StartupErrorRule.AfterExitAssertion

Enclosing class:
StartupErrorRule
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface StartupErrorRule.AfterExitAssertion
Interface implementation may be registered to check assertions after system exit.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    check(String out, String err)
    Called after system exit call to perform custom assertions.
  • Method Details

    • check

      void check(String out, String err) throws Exception
      Called after system exit call to perform custom assertions.
      Parameters:
      out - output stream content or empty string
      err - error stream content (exception logged there)
      Throws:
      Exception - in case of error