public class IllegalCycleException extends RuntimeException
IllegalCycleException class defines an exception that can
be thrown when a cycle is detected in a directed graph.| Constructor and Description |
|---|
IllegalCycleException(List<?> cycle)
Instantiates a new
IllegalCycleException object. |
IllegalCycleException(String s,
List<?> cycle)
Instantiates a new
IllegalCycleException object. |
IllegalCycleException(String message,
Throwable cause,
List<?> cycle)
Instantiates a new
IllegalCycleException object. |
IllegalCycleException(Throwable cause,
List<?> cycle)
Instantiates a new
IllegalCycleException object. |
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<?> |
cycle()
Gets the cycle that was detected.
|
List<?> |
getCycle()
Gets the cycle that was detected.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IllegalCycleException(List<?> cycle)
IllegalCycleException object.cycle - the cycle that was detectedpublic IllegalCycleException(String s, List<?> cycle)
IllegalCycleException object.s - the error messagecycle - the cycle that was detectedpublic IllegalCycleException(Throwable cause, List<?> cycle)
IllegalCycleException object.cause - the cause for this exceptioncycle - the cycle that was detectedpublic List<?> getCycle()
public java.util.stream.Stream<?> cycle()
Copyright (C) 2015-2015 The Helenus Driver Project Authors.