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 and Description |
---|
DuplicateRegistrationException() |
DuplicateRegistrationException(MOScope registrationScope) |
DuplicateRegistrationException(MOScope registrationScope,
MOScope registeredScope) |
DuplicateRegistrationException(String message) |
Modifier and Type | Method and 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.
|
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 © 2019 SNMP4J.org. All rights reserved.