com.univocity.api.exception.DataInputException Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2014 uniVocity Software Pty Ltd. All rights reserved.
* This file is subject to the terms and conditions defined in file
* 'LICENSE.txt', which is part of this source code package.
******************************************************************************/
package com.univocity.api.exception;
/**
* DataInputException
is the exception thrown by uniVocity to notify of errors when reading data from an entity.
*
* For example, if the database connection is closed while executing a data mapping process, this exception will be thrown.
*
* @author uniVocity Software Pty Ltd - [email protected]
*
*/
public final class DataInputException extends RuntimeException {
private static final long serialVersionUID = 5840516365821353625L;
/**
* Constructs a new DataInputException exception with the specified detail message and cause.
* @param message the detail message.
* @param cause the cause of the exception.
*/
public DataInputException(String message, Throwable cause) {
super(message, cause);
}
/**
* Constructs a new DataInputException exception with the specified detail message, and no cause.
* @param message the detail message.
*/
public DataInputException(String message) {
super(message);
}
/**
* Constructs a new DataInputException exception with the specified cause of error.
* @param cause the cause of the exception.
*/
public DataInputException(Throwable cause) {
super(cause);
}
}