public class DuplicateSequenceNameException extends AlignmentModelException
AlignmentModel
shall be renamed and the a sequence with the new name is already present in the underlying data source.Constructor and Description |
---|
DuplicateSequenceNameException(AlignmentModel<?> source,
String name)
Create a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
String |
getDuplicateName()
Returns the duplicate name.
|
getSource
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DuplicateSequenceNameException(AlignmentModel<?> source, String name)
source
- the sequence provider where this exception happenedname
- the duplicate sequence namepublic String getDuplicateName()