Package ghidra.program.model.listing

# Class DuplicateGroupException

java.lang.Object
java.lang.Throwable
java.lang.Exception
ghidra.util.exception.UsrException
ghidra.program.model.listing.DuplicateGroupException

All Implemented Interfaces:
  `Serializable`

public class DuplicateGroupException extends UsrException
`DuplicateGroupException` is thrown when a fragment or child is added to a module and that fragment or module is already a child.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DuplicateGroupException()`
  Creates a new exception with the default message.
  `DuplicateGroupException(String usrMessage)`
  Creates a new exception with the given user message.

- ## Method Summary

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### DuplicateGroupException

    public DuplicateGroupException()
    Creates a new exception with the default message.

  - ### DuplicateGroupException

    public DuplicateGroupException(String usrMessage)
    Creates a new exception with the given user message.