public class CycleException extends IllegalAddException
Indicates an attempt to insert an ancestor element as one of its own descendants.
Constructor and Description |
---|
CycleException(java.lang.String message)
Creates a new
CycleException
with a detail message. |
CycleException(java.lang.String message,
java.lang.Throwable cause)
Creates a new
CycleException with a detail message
and an underlying root cause. |
getCause, initCause
public CycleException(java.lang.String message)
Creates a new CycleException
with a detail message.
message
- a string indicating the specific problempublic CycleException(java.lang.String message, java.lang.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-2013 Elliotte Rusty Harold
elharo@ibiblio.org