Serializable
public class DuplicateRegistrationException extends MOException
DuplicateRegistrationException
is thrown when a managed object
registration attempt conflicts with an existing registration because their
scope's overlap.Constructor | Description |
---|---|
DuplicateRegistrationException() |
|
DuplicateRegistrationException(String message) |
|
DuplicateRegistrationException(MOScope registrationScope) |
|
DuplicateRegistrationException(MOScope registrationScope,
MOScope registeredScope) |
Modifier and Type | Method | Description |
---|---|---|
MOScope |
getRegisteredScope() |
Returns the scope that is already registered and overlaps with the scope
returned by
getRegistrationScope() . |
MOScope |
getRegistrationScope() |
Returns the scope of the failed registration attempt.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DuplicateRegistrationException()
public DuplicateRegistrationException(String message)
public DuplicateRegistrationException(MOScope registrationScope)
public MOScope getRegistrationScope()
MOScope
instance, typically a MOContextScope
.public MOScope getRegisteredScope()
getRegistrationScope()
.MOScope
instance.Copyright © 2018 SNMP4J.org. All rights reserved.