public class CycleException extends IllegalAddException
Indicates an attempt to insert an ancestor element as one of its own descendants.
Constructor and Description |
---|
CycleException(String message)
Creates a new
CycleException
with a detail message. |
CycleException(String message,
Throwable cause)
Creates a new
CycleException with a detail message
and an underlying root cause. |
getCause, initCause
public CycleException(String message)
Creates a new CycleException
with a detail message.
message
- a string indicating the specific problempublic CycleException(String message, Throwable cause)
Creates a new CycleException
with a detail message
and an underlying root cause.
message
- a string indicating the specific problemcause
- the original cause of this exceptionCopyright 2002-2023 Elliotte Rusty Harold
elharo@ibiblio.org