Class IllegalSharingException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MultipleParentException

public class IllegalSharingException extends IllegalSceneGraphException
Indicates an illegal attempt to share a scene graph object. For example, the following are illegal:
  • referencing a shared subgraph in more than one virtual universe
  • using the same node both in the scene graph and in an immediate mode graphics context
  • including any of the following unsupported types of leaf node within a shared subgraph:
    • AlternateAppearance
    • Background
    • Behavior
    • BoundingLeaf
    • Clip
    • Fog
    • ModelClip
    • Soundscape
    • ViewPlatform
  • referencing a BranchGroup node in more than one of the following ways:
    • attaching it to a (single) Locale
    • adding it as a child of a Group Node within the scene graph
    • referencing it from a (single) Background Leaf Node as background geometry
See Also:
  • Constructor Details

    • IllegalSharingException

      public IllegalSharingException()
      Create the exception object with default values.
    • IllegalSharingException

      public IllegalSharingException(String str)
      Create the exception object that outputs message.
      Parameters:
      str - the message string to be output.