Module com.github.rvesse.airline
Class ParseAliasCircularReferenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.rvesse.airline.parser.errors.ParseException
com.github.rvesse.airline.parser.errors.ParseAliasCircularReferenceException
- All Implemented Interfaces:
Serializable
Exception that occurs when alias chaining is enabled and a circular reference
is encountered
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParseAliasCircularReferenceException
(String alias, Set<String> referenceChain) -
Method Summary
Modifier and TypeMethodDescriptionGets the chain of alias resolutions that led to the circular referenceGets the alias that was encountered that is a circular referenceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
offendingAlias
-
referenceChain
-
-
Constructor Details
-
ParseAliasCircularReferenceException
-
-
Method Details
-
getOffendingAlias
Gets the alias that was encountered that is a circular reference- Returns:
- Offending alias
-
getAliasChain
Gets the chain of alias resolutions that led to the circular reference- Returns:
- Alias chain
-