Class ExceptionEventSender
- java.lang.Object
-
- org.apache.sling.distribution.journal.ExceptionEventSender
-
public class ExceptionEventSender extends 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 String
ERROR_TOPIC
static String
KEY_ERROR_CODE
static String
KEY_MESSAGE
static String
KEY_TYPE
-
Constructor Summary
Constructors Constructor Description ExceptionEventSender(org.osgi.service.event.EventAdmin eventAdmin)
-
-
-
Field Detail
-
ERROR_TOPIC
public static final String ERROR_TOPIC
- See Also:
- Constant Field Values
-
KEY_MESSAGE
public static final String KEY_MESSAGE
- See Also:
- Constant Field Values
-
KEY_TYPE
public static final String KEY_TYPE
- See Also:
- Constant Field Values
-
KEY_ERROR_CODE
public static final String KEY_ERROR_CODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ExceptionEventSender
public ExceptionEventSender(@Nullable org.osgi.service.event.EventAdmin eventAdmin)
-
-
Method Detail
-
send
public void send(Exception e)
-
-