# Error Handling Examples (/sdks/java/how-to/error-handling)



Connection failures, graceful shutdown, and automatic reconnection.

<Cards>
  <Card title="Connection Error" href="/sdks/java/how-to/error-handling/connection-error">
    Handle connection failures gracefully
  </Card>

  <Card title="Graceful Shutdown" href="/sdks/java/how-to/error-handling/graceful-shutdown">
    Clean shutdown with resource cleanup
  </Card>

  <Card title="Reconnection" href="/sdks/java/how-to/error-handling/reconnection">
    Automatic reconnection after disconnection
  </Card>
</Cards>
