Package io.agentscope.core.agui
Class AguiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.agentscope.core.agui.AguiException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AguiException.AgentNotFoundException,AguiException.EncodingException
Base exception for AG-UI related errors.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classException thrown when an agent is not found in the registry.static classException thrown when event encoding fails. -
Constructor Summary
ConstructorsConstructorDescriptionAguiException(String message) Creates a new AguiException with the specified message.AguiException(String message, Throwable cause) Creates a new AguiException with the specified message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AguiException
Creates a new AguiException with the specified message.- Parameters:
message- The error message
-
AguiException
Creates a new AguiException with the specified message and cause.- Parameters:
message- The error messagecause- The underlying cause
-