package org.owasp.appsensor.core.exceptions;

/**
 * This exception is thrown by the {@link org.owasp.appsensor.core.accesscontrol.AccessController}
 * when a {@link org.owasp.appsensor.core.ClientApplication} is not authorized to perform a 
 * specific action
 * 
 * @author John Melton (jtmelton@gmail.com) http://www.jtmelton.com/
 */
public class NotAuthorizedException extends RuntimeException  {

	private static final long serialVersionUID = 3914161530293443363L;

	public NotAuthorizedException(String s) {
		super(s);
	}
	
	public NotAuthorizedException(String s, Throwable cause) {
		super(s, cause);
	}
	
}

@@ -39,16 +39,47 @@
 tions;%0A%0A
+import javax.xml.ws.WebFault;%0A%0A
 /**%0A * T
@@ -362,16 +362,26 @@
 om/%0A */%0A
+@WebFault%0A
 public c

add WebFault for the not authorized exception