com.univocity.api.exception
Class DataInputException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.univocity.api.exception.DataInputException
All Implemented Interfaces:
Serializable

public final class DataInputException
extends RuntimeException

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 - dev@univocity.com
See Also:
Serialized Form

Constructor Summary
DataInputException(String message)
          Constructs a new DataInputException exception with the specified detail message, and no cause.
DataInputException(String message, Throwable cause)
          Constructs a new DataInputException exception with the specified detail message and cause.
DataInputException(Throwable cause)
          Constructs a new DataInputException exception with the specified cause of error.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataInputException

public DataInputException(String message,
                          Throwable cause)
Constructs a new DataInputException exception with the specified detail message and cause.

Parameters:
message - the detail message.
cause - the cause of the exception.

DataInputException

public DataInputException(String message)
Constructs a new DataInputException exception with the specified detail message, and no cause.

Parameters:
message - the detail message.

DataInputException

public DataInputException(Throwable cause)
Constructs a new DataInputException exception with the specified cause of error.

Parameters:
cause - the cause of the exception.


Copyright © 2015 uniVocity Software Pty Ltd. All rights reserved.