Class ConnectionInitException

java.lang.Object
java.lang.Throwable
java.lang.Exception
fr.codinbox.connector.commons.exception.ConnectionInitException
All Implemented Interfaces:
Serializable

public class ConnectionInitException extends Exception
Exception thrown when a connector connection fails to initialize.

This exception is used consistently across all connector types (Redis, Database, RabbitMQ, Kafka) to signal initialization failures. When a connection is configured with exit-on-failure enabled, this exception causes the server to shut down.

See Also:
  • Constructor Details

    • ConnectionInitException

      public ConnectionInitException(String message)
      Creates a new exception with the specified detail message.
      Parameters:
      message - the detail message describing the initialization failure
    • ConnectionInitException

      public ConnectionInitException(Throwable cause)
      Creates a new exception with the specified cause.
      Parameters:
      cause - the underlying cause of the initialization failure