nl.jqno.equalsverifier.util.exceptions
Class RecursionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by nl.jqno.equalsverifier.util.exceptions.InternalException
                  extended by nl.jqno.equalsverifier.util.exceptions.RecursionException
All Implemented Interfaces:
Serializable

public class RecursionException
extends InternalException

Signals that a recursion has been detected while traversing the fields of a data structure.

Author:
Jan Ouwens
See Also:
Serialized Form

Constructor Summary
RecursionException(LinkedHashSet<Class<?>> typeStack)
          Constructor.
 
Method Summary
 String getMessage()
          
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

RecursionException

public RecursionException(LinkedHashSet<Class<?>> typeStack)
Constructor.

Parameters:
typeStack - A collection of types that have been encountered prior to detecting the recursion.
Method Detail

getMessage

public String getMessage()

Overrides:
getMessage in class Throwable


Copyright © 2015. All Rights Reserved.