java.io.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(java.lang.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.
|
public DuplicateRegistrationException()
public DuplicateRegistrationException(java.lang.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.