类 FormatterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.agentscope.core.formatter.FormatterException
- 所有已实现的接口:
Serializable
Exception thrown when formatter encounters an error during message formatting or response parsing.
This exception is used to wrap underlying errors (JSON parsing, SDK errors, etc.) and provide consistent error handling across all formatter implementations.
- 另请参阅:
-
构造器概要
构造器构造器说明FormatterException(String message) Constructs a new FormatterException with the specified detail message.FormatterException(String message, Throwable cause) Constructs a new FormatterException with the specified detail message and cause. -
方法概要
-
构造器详细资料
-
FormatterException
Constructs a new FormatterException with the specified detail message.- 参数:
message- The detail message
-
FormatterException
Constructs a new FormatterException with the specified detail message and cause.- 参数:
message- The detail messagecause- The cause of the exception
-