public final class MacMapPortBusyException 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 |
|---|
MacMapPortBusyException(MacVlan mvlan,
MacMapIdentifier ident,
VNodeIdentifier<?> map)
Create a new exception which indicates the specified VLAN network on a
switch port is reserved by another virtual mapping.
|
| Modifier and Type | Method and Description |
|---|---|
VNodeIdentifier<?> |
getAnotherMapping()
Return a reference to the virtual mapping which reserves the target
VLAN network on a switch port.
|
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 MacMapPortBusyException(MacVlan mvlan, MacMapIdentifier ident, VNodeIdentifier<?> map)
mvlan - A MacVlan instance which represents a host that
failed to map.ident - The identifier for the MAC mapping which maps the host
specified by mvlan.map - A reference to the virtual mapping which reserves the
target VLAN network on a switch port.public VNodeIdentifier<?> getAnotherMapping()
public String getErrorMessage()
getErrorMessage in class MacMapExceptionCopyright © 2018 OpenDaylight. All rights reserved.