public interface Messages
error
methods, the container treats it
as a deployment problem.Modifier and Type | Method and Description |
---|---|
void |
error(java.lang.Exception exception)
Add a generic error that is represented by an exception.
|
void |
error(java.lang.String message)
Add a generic error that is not related to any particular element, or that information is not known.
|
void |
error(java.lang.String message,
AnnotationTarget relatedTo)
Add an error which is related to given
AnnotationTarget (which is most likely
a DeclarationInfo ). |
void |
error(java.lang.String message,
BeanInfo relatedTo)
Add an error which is related to given
BeanInfo . |
void |
error(java.lang.String message,
ObserverInfo relatedTo)
Add an error which is related to given
ObserverInfo . |
void |
info(java.lang.String message)
Add a generic information message that is not related to any particular element, or that information is not known.
|
void |
info(java.lang.String message,
AnnotationTarget relatedTo)
Add an information message which is related to given
AnnotationTarget (which is most likely
a DeclarationInfo ). |
void |
info(java.lang.String message,
BeanInfo relatedTo)
Add an information message which is related to given
BeanInfo . |
void |
info(java.lang.String message,
ObserverInfo relatedTo)
Add an information message which is related to given
ObserverInfo . |
void |
warn(java.lang.String message)
Add a generic warning that is not related to any particular element, or that information is not known.
|
void |
warn(java.lang.String message,
AnnotationTarget relatedTo)
Add a warning which is related to given
AnnotationTarget (which is most likely
a DeclarationInfo ). |
void |
warn(java.lang.String message,
BeanInfo relatedTo)
Add a warning which is related to given
BeanInfo . |
void |
warn(java.lang.String message,
ObserverInfo relatedTo)
Add a warning which is related to given
ObserverInfo . |
void info(java.lang.String message)
message
- information messagevoid info(java.lang.String message, AnnotationTarget relatedTo)
AnnotationTarget
(which is most likely
a DeclarationInfo
).message
- information messagerelatedTo
- annotation target to which the message is relatedvoid info(java.lang.String message, BeanInfo relatedTo)
BeanInfo
.message
- information messagerelatedTo
- bean to which the message is relatedvoid info(java.lang.String message, ObserverInfo relatedTo)
ObserverInfo
.message
- information messagerelatedTo
- observer to which the message is relatedvoid warn(java.lang.String message)
message
- warning messagevoid warn(java.lang.String message, AnnotationTarget relatedTo)
AnnotationTarget
(which is most likely
a DeclarationInfo
).message
- warning messagerelatedTo
- annotation target to which the message is relatedvoid warn(java.lang.String message, BeanInfo relatedTo)
BeanInfo
.message
- warning messagerelatedTo
- bean to which the message is relatedvoid warn(java.lang.String message, ObserverInfo relatedTo)
ObserverInfo
.message
- warning messagerelatedTo
- observer to which the message is relatedvoid error(java.lang.String message)
message
- error messagevoid error(java.lang.String message, AnnotationTarget relatedTo)
AnnotationTarget
(which is most likely
a DeclarationInfo
).message
- error messagerelatedTo
- annotation target to which the message is relatedvoid error(java.lang.String message, BeanInfo relatedTo)
BeanInfo
.message
- error messagerelatedTo
- bean to which the message is relatedvoid error(java.lang.String message, ObserverInfo relatedTo)
ObserverInfo
.message
- error messagerelatedTo
- observer to which the message is relatedvoid error(java.lang.Exception exception)
exception
- error, represented by an exception