public final class MacMapDuplicateException extends MacMapException
MacMapException.getHost() returns a host information that failed to map.
MacMapException.getIdentifier() returns the identifier for the target
MAC mapping.
| Constructor and Description |
|---|
MacMapDuplicateException(MacVlan mvlan,
MacMapIdentifier ident,
MacVlan dup)
Create a new exception which indicates duplicate MAC address was
detecred.
|
| Modifier and Type | Method and Description |
|---|---|
MacVlan |
getDuplicate()
Return a
MacVlan instance which specifies the host already
mapped by the MAC mapping. |
String |
getErrorMessage()
Create an error log message.
|
getHost, getIdentifiergetBadArgumentException, getBadArgumentException, getDataExistsException, getDataExistsException, getErrorTag, getMissingArgumentException, getNotFoundException, getNotFoundException, getNullArgumentExceptiongetVtnErrorTagaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MacMapDuplicateException(MacVlan mvlan, MacMapIdentifier ident, MacVlan dup)
public MacVlan getDuplicate()
MacVlan instance which specifies the host already
mapped by the MAC mapping.MacVlan instance.public String getErrorMessage()
getErrorMessage in class MacMapExceptionCopyright © 2018 OpenDaylight. All rights reserved.