Removed AvoidStarImport Rule
Added JavaDocType Rule
This commit is contained in:
@ -16,6 +16,9 @@
|
||||
*/
|
||||
package com.iluwatar.event.asynchronous;
|
||||
|
||||
/**
|
||||
* Custom Exception Class for Non Existent Event
|
||||
*/
|
||||
public class EventDoesNotExistException extends Exception {
|
||||
|
||||
private static final long serialVersionUID = -3398463738273811509L;
|
||||
|
@ -16,6 +16,10 @@
|
||||
*/
|
||||
package com.iluwatar.event.asynchronous;
|
||||
|
||||
/**
|
||||
* Events that fulfill the start stop and list out current status behaviour
|
||||
* follow this interface
|
||||
*/
|
||||
public interface IEvent {
|
||||
|
||||
void start();
|
||||
|
@ -16,6 +16,9 @@
|
||||
*/
|
||||
package com.iluwatar.event.asynchronous;
|
||||
|
||||
/**
|
||||
* Type of Exception raised when the Operation being invoked is Invalid
|
||||
*/
|
||||
public class InvalidOperationException extends Exception {
|
||||
|
||||
private static final long serialVersionUID = -6191545255213410803L;
|
||||
|
@ -16,6 +16,9 @@
|
||||
*/
|
||||
package com.iluwatar.event.asynchronous;
|
||||
|
||||
/**
|
||||
* Type of Exception raised when the Operation being invoked is Long Running
|
||||
*/
|
||||
public class LongRunningEventException extends Exception {
|
||||
|
||||
private static final long serialVersionUID = -483423544320148809L;
|
||||
|
@ -16,6 +16,9 @@
|
||||
*/
|
||||
package com.iluwatar.event.asynchronous;
|
||||
|
||||
/**
|
||||
* Type of Exception raised when the max number of allowed events is exceeded
|
||||
*/
|
||||
public class MaxNumOfEventsAllowedException extends Exception {
|
||||
|
||||
private static final long serialVersionUID = -8430876973516292695L;
|
||||
|
@ -16,6 +16,9 @@
|
||||
*/
|
||||
package com.iluwatar.event.asynchronous;
|
||||
|
||||
/**
|
||||
* Interface with listener behaviour related to Thread Completion.
|
||||
*/
|
||||
public interface ThreadCompleteListener {
|
||||
void completedEventHandler(final int eventId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user