public class ErrorInformationImpl extends Object implements ErrorInformation
Modifier and Type | Method and Description |
---|---|
MultiException |
getAssociatedException()
This will contain the associated exception or exceptions that caused
the failure.
|
Descriptor |
getDescriptor()
This will contain the active descriptor that is associated
with this failure.
|
ErrorType |
getErrorType()
Gets the type of error that has occurred.
|
Injectee |
getInjectee()
This will contain information about the Injectee that was being
injected into when the error occurred.
|
String |
toString() |
public ErrorType getErrorType()
ErrorInformation
getErrorType
in interface ErrorInformation
public Descriptor getDescriptor()
ErrorInformation
getDescriptor
in interface ErrorInformation
public Injectee getInjectee()
ErrorInformation
In the case of FAILURE_TO_REIFY this will be the injectee that was being looked up to satisfy the injection point, or null if this lookup was due to an API call
getInjectee
in interface ErrorInformation
public MultiException getAssociatedException()
ErrorInformation
In the case of FAILURE_TO_REIFY this will contain the exception that caused the reification process to fail
getAssociatedException
in interface ErrorInformation
Copyright © 2018 Oracle Corporation. All rights reserved.