Class RecursionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- nl.jqno.equalsverifier.internal.exceptions.MessagingException
-
- nl.jqno.equalsverifier.internal.exceptions.RecursionException
-
- All Implemented Interfaces:
Serializable
public class RecursionException extends MessagingException
Signals that a recursion has been detected while traversing the fields of a data structure.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RecursionException(LinkedHashSet<TypeTag> typeStack)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RecursionException
public RecursionException(LinkedHashSet<TypeTag> typeStack)
Constructor.- Parameters:
typeStack
- A collection of types that have been encountered prior to detecting the recursion.
-
-
Method Detail
-
getDescription
public String getDescription()
- Overrides:
getDescription
in classMessagingException
-
-