All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.valkyriercp.application.exceptionhandling.ExceptionHandlerDelegate Maven / Gradle / Ivy

There is a newer version: 1.3
Show newest version
package org.valkyriercp.application.exceptionhandling;

/**
 * A delegate that might want to handle a throwable.
 *
 * @author Geoffrey De Smet
 * @since 0.3.0
 */
public interface ExceptionHandlerDelegate extends Thread.UncaughtExceptionHandler {

    /**
     * Checks if the delegate wants to handle the throwable.
     *
     * @param thrownTrowable the thrown exception or error.
     * @return true if this exception handler wants to handle the throwable.
     */
    boolean hasAppropriateHandler(Throwable thrownTrowable);

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy