Class QueryOrigin.ExceptionHelpers

Object
org.apache.spark.sql.pipelines.graph.QueryOrigin.ExceptionHelpers
Enclosing class:
QueryOrigin

public static class QueryOrigin.ExceptionHelpers extends Object
  • Constructor Details

    • ExceptionHelpers

      public ExceptionHelpers(Throwable t)
  • Method Details

    • addOrigin

      public Throwable addOrigin(QueryOrigin origin)
      Stores origin inside the given throwable using suppressed exceptions.

      We rely on suppressed exceptions since that lets us preserve the original exception class and type.

      Parameters:
      origin - (undocumented)
      Returns:
      (undocumented)