Class JKDataAccessManyRowsException

All Implemented Interfaces:
Serializable

public class JKDataAccessManyRowsException extends JKDataAccessException
This class represents exception thrown when a data access operation returns more rows than expected.

This exception is a subclass of JKDataAccessException.

Version:
1.0
Author:
Dr. Jalal H. Kiswani
See Also:
  • Constructor Details

    • JKDataAccessManyRowsException

      public JKDataAccessManyRowsException()
      This method constructs a new JKDataAccessManyRowsException without any specified errors or causes.

      This constructor is typically used when the exception is thrown to represent a specific error condition without additional details.

    • JKDataAccessManyRowsException

      public JKDataAccessManyRowsException(String message, Throwable cause)
      This method constructs a JKDataAccessManyRowsException with a specific error message and a cause.
      Parameters:
      message - Specifies the error message explaining the reason for this exception.
      cause - Specifies the cause of this exception.
    • JKDataAccessManyRowsException

      public JKDataAccessManyRowsException(String message)
      This method constructs a JKDataAccessManyRowsException with a specific error message.
      Parameters:
      message - Specifies the error message explaining the reason for this exception.
    • JKDataAccessManyRowsException

      public JKDataAccessManyRowsException(Throwable cause)
      This method constructs a JKDataAccessManyRowsException with a cause.
      Parameters:
      cause - Specifies the cause of this exception.
    • JKDataAccessManyRowsException

      public JKDataAccessManyRowsException(String queryString, Object[] paramters)
      This method constructs a JKDataAccessManyRowsException with a query string and associated parameters.
      Parameters:
      queryString - Specifies the query string that caused the exception.
      paramters - Specifies the parameters used in the query.