Class ParseAliasCircularReferenceException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ParseAliasCircularReferenceException
    extends ParseException
    Exception that occurs when alias chaining is enabled and a circular reference is encountered
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> getAliasChain()
      Gets the chain of alias resolutions that led to the circular reference
      java.lang.String getOffendingAlias()
      Gets the alias that was encountered that is a circular reference
      • 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
    • Field Detail

      • offendingAlias

        private final java.lang.String offendingAlias
      • referenceChain

        private final java.util.Set<java.lang.String> referenceChain
    • Constructor Detail

      • ParseAliasCircularReferenceException

        public ParseAliasCircularReferenceException​(java.lang.String alias,
                                                    java.util.Set<java.lang.String> referenceChain)
    • Method Detail

      • getOffendingAlias

        public java.lang.String getOffendingAlias()
        Gets the alias that was encountered that is a circular reference
        Returns:
        Offending alias
      • getAliasChain

        public java.util.Set<java.lang.String> getAliasChain()
        Gets the chain of alias resolutions that led to the circular reference
        Returns:
        Alias chain