001package usecase.auth; 002 003import javax.ejb.ApplicationException; 004 005/** 006 * Eccezione indicante la necessità di autenticarsi come admin per procedere. 007 */ 008@ApplicationException(rollback = true) 009public class AuthenticationRequiredException extends RuntimeException { 010 public AuthenticationRequiredException() { 011 } 012 013 public AuthenticationRequiredException(String message) { 014 super(message); 015 } 016 017 public AuthenticationRequiredException(String message, Throwable cause) { 018 super(message, cause); 019 } 020 021 public AuthenticationRequiredException(Throwable cause) { 022 super(cause); 023 } 024}