public class NameDuplicationException extends KernelException
This class has no constructors that take a Throwable cause because no such constructors have been needed, but in principle, such constructors could be added if needed.
Constructor and Description |
---|
NameDuplicationException(Nameable container,
Nameable wouldBeContainee)
Construct an exception with a message that includes the
name of the would be containee and the would be container.
|
NameDuplicationException(Nameable container,
Nameable wouldBeContainee,
java.lang.String detail)
Construct an exception with a detail message that includes the
name of the would be containee and the would be container plus
the third argument string.
|
NameDuplicationException(Nameable container,
java.lang.String detail)
Construct an exception with a detail message that includes the
name of the first argument.
|
_setCause, _setMessage, generateMessage, generateMessage, generateMessage, getCause, getFullName, getMessage, getName, getNameable1, getNameable2, printStackTrace, printStackTrace, printStackTrace, stackTraceToString
public NameDuplicationException(Nameable container, java.lang.String detail)
container
- The would be container.detail
- The message.public NameDuplicationException(Nameable container, Nameable wouldBeContainee)
wouldBeContainee
- The would be containee.container
- The would be container.public NameDuplicationException(Nameable container, Nameable wouldBeContainee, java.lang.String detail)
wouldBeContainee
- The would be containee.container
- The would be container.detail
- A message.