Class ExceptionHelper

java.lang.Object
org.kink_lang.kink.ExceptionHelper

public class ExceptionHelper extends Object
The helper of excetpion vals.
  • Method Details

    • of

      public ExceptionVal of(String message, List<? extends TraceVal> traces)
      Makes an exception val without chaining.
      Parameters:
      message - the exception message.
      traces - the exception traces.
      Returns:
      an exception val without chaining.
    • of

      public ExceptionVal of(Throwable th)
      Makes an exception val converted from Java Throwable.
      Parameters:
      th - the Java Throwable.
      Returns:
      an exception val.