Class DataIOException

  • All Implemented Interfaces:
    Serializable

    public class DataIOException
    extends RuntimeException
    Raised when an error occurs reading data from or writing data to a database, a file or other source. Implementors of IDataReader should throw this exception when checked exceptions are thrown as a result of data acesss (e.g. SQLException or IOException). The checked exception should be set as the cause of this exception, so it can be handled if required.
    See Also:
    Serialized Form
    • Constructor Detail

      • DataIOException

        public DataIOException()
        Initializes a new instance of the DataIOException class.
      • DataIOException

        public DataIOException​(String message)
        Initializes a new instance of the DataIOException class with a specified error message.
        Parameters:
        message - The error message that explains the reason for the exception.
      • DataIOException

        public DataIOException​(String message,
                               Throwable cause)
        Initializes a new instance of the DataIOException class with a specified error message and a reference to the inner exception that is the cause of this exception.
        Parameters:
        message - The error message that explains the reason for the exception.
        cause - The exception that is the cause of the current exception.
      • DataIOException

        public DataIOException​(Throwable cause)
        Initializes a new instance of the DataIOException class with a reference to the inner exception that is the cause of this exception.
        Parameters:
        cause - The exception that is the cause of the current exception.