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

com.crabshue.commons.exceptions.context.ErrorContext Maven / Gradle / Ivy

package com.crabshue.commons.exceptions.context;

import com.crabshue.commons.exceptions.AbstractException;

/**
 * Error contexts to use with {@link AbstractException} and implementing classes.
 * Those are used to add context to the exception raised.
 *
 */
public interface ErrorContext {

    /**
     * Provide the name of the error context.
     *
     * @return the name of the error context.
     */
    String name();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy