com.univocity.api.exception
Class DataMappingException

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

public final class DataMappingException
extends RuntimeException

DataMappingException is the exception thrown by uniVocity to notify errors when executing a data mapping process.

For example, if a reference to an entity cannot be resolved in a data mapping execution, this exception will be thrown

Author:
uniVocity Software Pty Ltd - dev@univocity.com
See Also:
Serialized Form

Constructor Summary
DataMappingException(String message)
          Constructs a new DataMappingException exception with the specified detail message, and no cause.
DataMappingException(String message, Throwable cause)
          Constructs a new DataMappingException exception with the specified detail message and cause.
DataMappingException(Throwable cause)
          Constructs a new DataMappingException 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

DataMappingException

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

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

DataMappingException

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

Parameters:
message - the detail message.

DataMappingException

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

Parameters:
cause - the cause of the exception.


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