Class ExceptionResult

java.lang.Object
com.spertus.jacquard.common.Result
com.spertus.jacquard.common.ExceptionResult

public class ExceptionResult extends Result
A result encapsulating an exception.
  • Constructor Details

    • ExceptionResult

      public ExceptionResult(String name, Throwable throwable)
      Makes a result indicating an exceptional event occurred.
      Parameters:
      name - the name
      throwable - the underlying Error or Exception