public class DuplicateServiceException extends HK2RuntimeException
| Constructor and Description |
|---|
DuplicateServiceException()
For serialization
|
DuplicateServiceException(Descriptor existingDescriptor)
Called by the system to initialize the existing descriptor
that matched
|
DuplicateServiceException(Descriptor existingDescriptor,
String serviceLocatorName)
Called by the system to initialize the existing descriptor
that matched
|
| Modifier and Type | Method and Description |
|---|---|
Descriptor |
getExistingDescriptor()
Gets the descriptor that matched one of the idempotent
filters
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic DuplicateServiceException()
public DuplicateServiceException(Descriptor existingDescriptor)
existingDescriptor - The possibly null existing descriptor
that matched one of the idempotent filterspublic DuplicateServiceException(Descriptor existingDescriptor, String serviceLocatorName)
existingDescriptor - The possibly null existing descriptor
that matched one of the idempotent filters.serviceLocatorName - The name of the ServiceLocator
that threw the exception.public Descriptor getExistingDescriptor()
Copyright © 2009–2022 Oracle Corporation. All rights reserved.