com.univocity.api.exception
Class IllegalMappingException

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

public final class IllegalMappingException
extends RuntimeException

IllegalMappingException is the exception thrown by uniVocity to notify of an illegal mapping.

For example, if non-existent fields were used to define a mapping between two entities, this exception will be thrown.

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

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

IllegalMappingException

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

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

IllegalMappingException

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

Parameters:
message - the detail message.

IllegalMappingException

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

Parameters:
cause - the cause of the exception.


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