Top Description Fields Constructors Methods
com.opencsv.exceptions

public Class CsvRecursionException

extends CsvRuntimeException
Class Inheritance

This exception is thrown on initiation of field mapping if com.opencsv.bean.CsvRecurse has been improperly used.
Author
Andrew Rucker Jones
Since
5.0

Field Summary

Modifier and TypeField and Description
private final Class<?>
private static final long

Constructor Summary

AccessConstructor and Description
public
CsvRecursionException(String
A human-readable error message
message
,
Class<?>
The type that is misconfigured and caused the error
offendingType
)

Constructor for an error message and the type that caused a recursion problem.

Method Summary

Modifier and TypeMethod and Description
public Class<?>
getOffendingType()

Returns: The type that is misconfigured and caused the error

Field Detail

offendingTypeback to summary
private final Class<?> offendingType
serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.opencsv.exceptions.CsvRuntimeException.serialVersionUID.

Constructor Detail

CsvRecursionExceptionback to summary
public CsvRecursionException(String message, Class<?> offendingType)

Constructor for an error message and the type that caused a recursion problem.

Parameters
message:String

A human-readable error message

offendingType:Class<?>

The type that is misconfigured and caused the error

Method Detail

getOffendingTypeback to summary
public Class<?> getOffendingType()
Returns:Class<?>

The type that is misconfigured and caused the error