Module org.dyn4j

Class ObjectAlreadyOwnedException

  • All Implemented Interfaces:
    Serializable

    public class ObjectAlreadyOwnedException
    extends IllegalArgumentException
    Represents an exception when an object is added to an object, but is already owned by another object.
    Since:
    5.0.0
    Version:
    5.0.0
    Author:
    William Bittle
    See Also:
    Serialized Form
    • Constructor Detail

      • ObjectAlreadyOwnedException

        public ObjectAlreadyOwnedException​(String argumentName,
                                           Object object,
                                           Object owner)
        Minimal constructor.
        Parameters:
        argumentName - the name of the argument
        object - the object
        owner - the current owner of the object