Package org.a2aproject.sdk.server.events
Class NoTaskQueueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.a2aproject.sdk.server.events.NoTaskQueueException
- All Implemented Interfaces:
Serializable
Exception thrown when attempting to access a task queue that does not exist.
This exception is typically thrown when trying to retrieve or operate on an event queue for a task that has not been created or has been removed.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a NoTaskQueueException with no message.NoTaskQueueException(String message) Creates a NoTaskQueueException with the specified detail message.NoTaskQueueException(String message, Throwable cause) Creates a NoTaskQueueException with the specified detail message and cause.NoTaskQueueException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a NoTaskQueueException with the specified message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.NoTaskQueueException(Throwable cause) Creates a NoTaskQueueException with the specified 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
-
NoTaskQueueException
public NoTaskQueueException()Creates a NoTaskQueueException with no message. -
NoTaskQueueException
Creates a NoTaskQueueException with the specified detail message.- Parameters:
message- the detail message
-
NoTaskQueueException
Creates a NoTaskQueueException with the specified detail message and cause.- Parameters:
message- the detail messagecause- the cause
-
NoTaskQueueException
Creates a NoTaskQueueException with the specified cause.- Parameters:
cause- the cause
-
NoTaskQueueException
public NoTaskQueueException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a NoTaskQueueException with the specified message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.- Parameters:
message- the detail messagecause- the causeenableSuppression- whether suppression is enabled or disabledwritableStackTrace- whether the stack trace should be writable
-