Class DatabaseConnectionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dimstyl.orm.exceptions.DatabaseConnectionException
All Implemented Interfaces:
Serializable

public class DatabaseConnectionException extends RuntimeException
Exception thrown when a database connection issue occurs.

This exception is used to indicate failures in establishing, maintaining or closing a connection.

See Also:
  • Constructor Details

    • DatabaseConnectionException

      public DatabaseConnectionException(String message)
      Constructs a new DatabaseConnectionException with the specified detail message.
      Parameters:
      message - The detail message explaining the reason for the exception.
    • DatabaseConnectionException

      public DatabaseConnectionException(String message, Throwable cause)
      Constructs a new DatabaseConnectionException with the specified detail message and cause.
      Parameters:
      message - The detail message explaining the reason for the exception.
      cause - The underlying cause of the exception.