Package com.opencsv.exceptions
Class CsvRecursionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.opencsv.exceptions.CsvRuntimeException
-
- com.opencsv.exceptions.CsvRecursionException
-
- All Implemented Interfaces:
java.io.Serializable
public class CsvRecursionException extends CsvRuntimeException
This exception is thrown on initiation of field mapping ifCsvRecurse
has been improperly used.- Since:
- 5.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class<?>
offendingType
private static long
serialVersionUID
-
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()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
offendingType
private final java.lang.Class<?> offendingType
-
-
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 messageoffendingType
- The type that is misconfigured and caused the error
-
-