HandlerFieldFilterClashError

public final class HandlerFieldFilterClashError extends ModelError

An error indicating that two message handlers have clashing ByField filtering signatures.

Two handlers clash if they handle the same type of message but filter messages by different fields. For example:


    \@Subscribe(filter = @ByField(path = "member_count", value = "0"))
    public void onProject(ProjectStarted event) {
    }

    \@Subscribe(filter = @ByField(path = "by.admin", value = "false"))
    public void onStarted(ProjectStarted event) {
    }
    

Both methods onProject and onStarted subscribe to ProjectStarted but filter the events by member_count and by.admin fields respectively. This is an invalid situation, since both filters could be satisfied simultaneously.

Inherited properties

Link copied to clipboard
Link copied to clipboard

Inherited functions

Link copied to clipboard
public final synchronized void addSuppressed(Throwable exception)
Link copied to clipboard
public synchronized Throwable fillInStackTrace()
Link copied to clipboard
public synchronized Throwable getCause()
Link copied to clipboard
Link copied to clipboard
public String getMessage()
Link copied to clipboard
Link copied to clipboard
public final synchronized Array<Throwable> getSuppressed()
Link copied to clipboard
public synchronized Throwable initCause(Throwable cause)
Link copied to clipboard
public void printStackTrace()
Link copied to clipboard
public void setStackTrace(Array<StackTraceElement> stackTrace)
Link copied to clipboard
public String toString()