Class InternalServerException

All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<InternalServerException.Builder,InternalServerException>

@Generated("software.amazon.awssdk:codegen") public final class InternalServerException extends AgentDiscoveryException implements ToCopyableBuilder<InternalServerException.Builder,InternalServerException>

Thrown on an internal defect — a bug or malformed state, not a failed dependency.

⚠️ Deliberately a **permanent** failure. Repeating a request that failed to serialize will fail identically, so treating a 500 as retryable would spin a poison message through redelivery forever instead of letting it reach a dead-letter queue. Dependency failures that *are* worth retrying use `ServiceUnavailableException` and its 503 instead.

See Also: