Class ThinkingException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public final class ThinkingException
    extends Exception
                        

    Exception that carries thinking blocks even when LLM operation fails. This preserves the LLM's reasoning process for debugging and analysis.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final List<ThinkingBlock> getThinkingBlocks()
      • Methods inherited from class kotlin.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ThinkingException

        ThinkingException(String message, List<ThinkingBlock> thinkingBlocks)