Class CycleDetectedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tech.guilhermekaua.spigotboot.core.exceptions.CycleDetectedException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CircularDependencyException

public class CycleDetectedException extends RuntimeException
See Also:
  • Constructor Details

    • CycleDetectedException

      public CycleDetectedException(@NotNull @NotNull List<T> cycle, @NotNull @NotNull Function<T,String> nodeLabeler, @Nullable @Nullable String initialPrefix)
    • CycleDetectedException

      public CycleDetectedException(@NotNull @NotNull List<T> cycle, @NotNull @NotNull Function<T,String> nodeLabeler)
  • Method Details

    • getCycle

      @NotNull public @NotNull List<?> getCycle()
    • formatCycle

      @NotNull public @NotNull String formatCycle()