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

be.yildizgames.common.exception.business.BusinessException Maven / Gradle / Ivy

Go to download

Common Exception library for the yildiz project, contains technical and business exceptions.

There is a newer version: 1.0.4
Show newest version
package be.yildizgames.common.exception.business;

/**
 * High level exception meant to be sent to the user, this is the exception
 * dealing with all user misbehavior like trying to reach an non-existing resource...
 * This exception is thrown because of user misbehavior, not system failure.
 * Immutable class.
 *
 * @author Grégory Van den Borre
 */
public class BusinessException extends RuntimeException {

    protected BusinessException(String message) {
        super(message);
    }

    protected BusinessException(Exception cause) {
        super(cause);
    }

    protected BusinessException(String message, Exception cause) {
        super(message, cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy