public class IdentifierException extends SBMLException
NamedSBase
but if the given identifier is already
registered in the containing Model
.SBMLException.Category, SBMLException.Code, SBMLException.Type
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
DUPLICATE_IDENTIFIER_MSG |
Constructor | Description |
---|---|
IdentifierException(SBase sb,
java.lang.String identifier,
java.lang.String message,
java.lang.String preIdentifierName) |
Creates a new
IdentifierException instance. |
Modifier and Type | Method | Description |
---|---|---|
static IdentifierException |
createIdentifierExceptionForId(SBase sb,
java.lang.String id) |
Creates a new
IdentifierException instance for id. |
static IdentifierException |
createIdentifierExceptionForMetaId(SBase sb,
java.lang.String metaId) |
Creates a new
IdentifierException instance for metaid. |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCategory, getCode, getShortMessage, getType, isError, isFatal, isInfo, isInternal, isSystem, isWarning, isXML, setCategory, setCode, setError, setFatal, setInfo, setInternal, setShortMessage, setSystem, setWarning, setXML
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
getErrorId
public static final java.lang.String DUPLICATE_IDENTIFIER_MSG
public IdentifierException(SBase sb, java.lang.String identifier, java.lang.String message, java.lang.String preIdentifierName)
IdentifierException
instance.sb
- identifier
- public static IdentifierException createIdentifierExceptionForId(SBase sb, java.lang.String id)
IdentifierException
instance for id.sb
- id
- public static IdentifierException createIdentifierExceptionForMetaId(SBase sb, java.lang.String metaId)
IdentifierException
instance for metaid.sb
- metaId
-