new-integration-tests/src/test/java/oracle/weblogic/kubernetes/extensions/IntegrationTestWatcher.java
@Override
  public void handleAfterEachMethodExecutionException(ExtensionContext context, Throwable throwable)
      throws Throwable {
    printHeader(String.format("AfterEach failed for %s()", methodName), "!");
    collectLogs(context, "afterEach");
    throw throwable;
  }
/**
   * Gets called when any exception is thrown in afterEach and collects logs.
   * @param context current extension context
   * @param throwable to handle
   * @throws Throwable in case of failures
   */
Gets called when any exception is thrown in afterEach and collects logs.
@param context current extension context
@param throwable to handle
@throws Throwable in case of failures
Gets called when any exception is thrown in afterEach and collects logs . @param context current extension context @param throwable to handle @throws Throwable in case of failures
@Override
  public void handleAfterEachMethodExecutionException(ExtensionContext context, Throwable throwable)
      throws Throwable {
    printHeader(String.format("AfterEach failed for %s()", methodName), "!");
    collectLogs(context, "afterEach");
    throw throwable;
  }
@ Override public void handleAfterEachMethodExecutionException ( ExtensionContext context , Throwable throwable ) throws Throwable { printHeader ( String . format ( "AfterEach failed for %s()" , methodName ) , "!" ) ; collectLogs ( context , "afterEach" ) ; throw throwable ; }
Gets called when any exception is thrown in afterEach and collects logs.
Gets called when any exception is thrown in afterEach and collects logs .