Class JKEmptyReportException

All Implemented Interfaces:
Serializable

public class JKEmptyReportException extends JKReportException
This class represents exception thrown to indicate that a report is empty or contains no data.

This exception is a subclass of JKReportException.

This class should be used to represent situations where a generated report is found to be empty or devoid of any meaningful data.

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

    • JKEmptyReportException

      public JKEmptyReportException()
      This method constructs a new JKEmptyReportException 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.

    • JKEmptyReportException

      public JKEmptyReportException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      This method constructs a JKEmptyReportException with a specific error message, cause, suppression behavior, and stack trace writability.
      Parameters:
      message - Specifies the error message explaining the empty report situation.
      cause - Specifies the cause of this exception.
      enableSuppression - Specifies whether suppression is enabled or disabled.
      writableStackTrace - Specifies whether the stack trace should be writable.
    • JKEmptyReportException

      public JKEmptyReportException(String message, Throwable cause)
      This method constructs a JKEmptyReportException with a specific error message and a cause.
      Parameters:
      message - Specifies the error message explaining the empty report situation.
      cause - Specifies the cause of this exception.
    • JKEmptyReportException

      public JKEmptyReportException(String message)
      This method constructs a JKEmptyReportException with a specific error message.
      Parameters:
      message - Specifies the error message explaining the empty report situation.
    • JKEmptyReportException

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