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

com.github.adminfaces.template.exception.AccessDeniedException Maven / Gradle / Ivy

There is a newer version: 2.0
Show newest version
package com.github.adminfaces.template.exception;

import javax.ejb.ApplicationException;
import java.io.Serializable;

/**
 * Created by rmpestano on 18/02/17. A marker exception to redirect user to
 * 403.xhtml. See web-fragment.xml
 */
@ApplicationException(rollback = true)
public class AccessDeniedException extends RuntimeException implements Serializable {

	public AccessDeniedException() {
	}

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

	/**
	 *
	 * @param msg exception message
	 */
	public AccessDeniedException(String msg) {
		super(msg);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy