Add Missing Javadoc to EventBusException #1

Merged
kske merged 1 commits from javadoc into develop 2020-09-23 20:55:16 +02:00

View File

@ -1,8 +1,9 @@
package dev.kske.eventbus; package dev.kske.eventbus;
/** /**
* This runtime exception is thrown when an event bus error occurs. This can either occur while * This runtime exception is thrown when an event bus error occurs. This can
* registering event listeners with invalid handlers, or when an event handler throws an exception. * either occur while registering event listeners with invalid handlers, or when
* an event handler throws an exception.
* *
* @author Kai S. K. Engelbart * @author Kai S. K. Engelbart
* @since 0.0.1 * @since 0.0.1
@ -11,10 +12,21 @@ public class EventBusException extends RuntimeException {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/**
* Creates a new event bus exception.
*
* @param message the message to display
* @param cause the cause of this exception
*/
public EventBusException(String message, Throwable cause) { public EventBusException(String message, Throwable cause) {
super(message, cause); super(message, cause);
} }
/**
* Creates a new event bus exception.
*
* @param message the message to display
*/
public EventBusException(String message) { public EventBusException(String message) {
super(message); super(message);
} }