AuthenticationRequiredException.java

package usecase.auth;

import javax.ejb.ApplicationException;

/**
 * Eccezione indicante la necessità di autenticarsi come admin per procedere.
 */
@ApplicationException(rollback = true)
public class AuthenticationRequiredException extends RuntimeException {
    public AuthenticationRequiredException() {
    }

    public AuthenticationRequiredException(String message) {
        super(message);
    }

    public AuthenticationRequiredException(String message, Throwable cause) {
        super(message, cause);
    }

    public AuthenticationRequiredException(Throwable cause) {
        super(cause);
    }
}