Package nu.xom

Class MultipleParentException

  • All Implemented Interfaces:
    Serializable

    public class MultipleParentException
    extends IllegalAddException

    Indicates an attempt to add a node that already has a parent to the same or a different parent.

    Version:
    1.1b3
    Author:
    Elliotte Rusty Harold
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MultipleParentException​(String message)
      Creates a new MultipleParentException with a detail message.
      MultipleParentException​(String message, Throwable cause)
      Creates a new MultipleParentException with a detail message and an underlying root cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MultipleParentException

        public MultipleParentException​(String message)

        Creates a new MultipleParentException with a detail message.

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

        public MultipleParentException​(String message,
                                       Throwable cause)

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

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