Class CsvRecursionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CsvRecursionException
    extends CsvRuntimeException
    This exception is thrown on initiation of field mapping if CsvRecurse has been improperly used.
    Since:
    5.0
    Author:
    Andrew Rucker Jones
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CsvRecursionException​(java.lang.String message, java.lang.Class<?> offendingType)
      Constructor for an error message and the type that caused a recursion problem.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getOffendingType()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • CsvRecursionException

        public CsvRecursionException​(java.lang.String message,
                                     java.lang.Class<?> offendingType)
        Constructor for an error message and the type that caused a recursion problem.
        Parameters:
        message - A human-readable error message
        offendingType - The type that is misconfigured and caused the error
    • Method Detail

      • getOffendingType

        public java.lang.Class<?> getOffendingType()
        Returns:
        The type that is misconfigured and caused the error