Package nu.xom

Class CycleException

All Implemented Interfaces:
Serializable

public class CycleException extends IllegalAddException

Indicates an attempt to insert an ancestor element as one of its own descendants.

Version:
1.1b3
Author:
Elliotte Rusty Harold
See Also:
  • Constructor Details

    • CycleException

      public CycleException(String message)

      Creates a new CycleException with a detail message.

      Parameters:
      message - a string indicating the specific problem
    • CycleException

      public CycleException(String message, Throwable cause)

      Creates a new CycleException with a detail message and an underlying root cause.

      Parameters:
      message - a string indicating the specific problem
      cause - the original cause of this exception