1   package com.trendmicro.grid.acl.l0;
2   
3   import javax.xml.bind.annotation.XmlAccessType;
4   import javax.xml.bind.annotation.XmlAccessorType;
5   import javax.xml.bind.annotation.XmlRootElement;
6   import javax.xml.bind.annotation.XmlType;
7   import javax.xml.ws.WebFault;
8   
9   /**
10   * Is thrown if the current user is not authenticated.
11   *
12   * @author Juergen_Kellerer, 2010-04-26
13   * @version 1.0
14   */
15  @XmlAccessorType(XmlAccessType.FIELD)
16  @XmlType(namespace = Level0Constants.NAMESPACE)
17  @XmlRootElement(namespace = Level0Constants.NAMESPACE)
18  @WebFault(targetNamespace = Level0Constants.NAMESPACE)
19  public class NotAuthenticatedException extends AuthenticationException {
20  
21  	private static final long serialVersionUID = -5007677725981865933L;
22  
23  	public NotAuthenticatedException(String message) {
24  		super(message);
25  	}
26  
27  	public NotAuthenticatedException() {
28  		super("AUTH00", "Current user session is not authenticated");
29  	}
30  }