001package org.intellimate.izou.security.exceptions; 002 003/** 004 * The IzouPermissionException indicates that a certain permission has not been granted. Unlike the 005 * {@link SecurityException} in Izou which indicates that the specific service will never be available under any 006 * condition, the requested service can be available at times. 007 * <p> 008 * For instance, an addOn might attempt to play a sound, and 009 * instead the IzouPermissionException is thrown. This means that currently the addOn does not have permission to 010 * play a sound, probably because another sound is already being played. However once that other sound is done 011 * playing, the original addOn is fully entitled to play its own sound. 012 * </p> 013 * <p> 014 * So the IzouPermissionException is a temporary denial of service so to say, and not a permanent one, which the 015 * SecurityException is. 016 * </p> 017 */ 018public class IzouPermissionException extends SecurityException { 019 020 /** 021 * Creates a new IzouPermissionException 022 * 023 * @param message the message to send with the exception 024 */ 025 public IzouPermissionException(String message) { 026 super(message); 027 } 028}