Class SkillSourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.adk.skills.SkillSourceException
- All Implemented Interfaces:
Serializable
(用于表示某种情况或异常)属于……的例外情况
SkillSource 这些实现用于报告那些可以恢复的错误;当发生此类错误时,系统会将相应的错误信息发送回大型语言模型(LLM)。- See Also:
-
字段摘要
Fields -
构造函数概述
ConstructorsConstructorDescriptionSkillSourceException(String message, String errorCode) 根据指定的详细信息(message)和错误代码(error code),构造一个新的异常对象。SkillSourceException(String message, String errorCode, Throwable cause) 使用指定的详细信息、错误代码和错误原因来构造一个新的异常对象。 -
方法概述
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
字段详情
-
SKILL_LOAD_ERROR
- See Also:
-
SKILL_NOT_FOUND
- See Also:
-
SKILL_FORMAT_ERROR
- See Also:
-
RESOURCE_LOAD_ERROR
- See Also:
-
RESOURCE_NOT_FOUND
- See Also:
-
-
构造函数详细信息
-
SkillSourceException
-
SkillSourceException
-
-
方法详细信息(Method Details)
-
getErrorCode
-