Class ExceptionEventSender
java.lang.Object
org.apache.sling.distribution.journal.ExceptionEventSender
public class ExceptionEventSender
extends java.lang.Object
This is used by the journal adapter to send events for exceptions that happen
when distribution talks to the journal.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringERROR_TOPICstatic java.lang.StringKEY_ERROR_CODEstatic java.lang.StringKEY_MESSAGEstatic java.lang.StringKEY_TYPE -
Constructor Summary
Constructors Constructor Description ExceptionEventSender(org.osgi.service.event.EventAdmin eventAdmin) -
Method Summary
Modifier and Type Method Description voidsend(java.lang.Exception e)
-
Field Details
-
ERROR_TOPIC
public static final java.lang.String ERROR_TOPIC- See Also:
- Constant Field Values
-
KEY_MESSAGE
public static final java.lang.String KEY_MESSAGE- See Also:
- Constant Field Values
-
KEY_TYPE
public static final java.lang.String KEY_TYPE- See Also:
- Constant Field Values
-
KEY_ERROR_CODE
public static final java.lang.String KEY_ERROR_CODE- See Also:
- Constant Field Values
-
-
Constructor Details
-
ExceptionEventSender
public ExceptionEventSender(@Nullable org.osgi.service.event.EventAdmin eventAdmin)
-
-
Method Details
-
send
public void send(java.lang.Exception e)
-