1   package com.trendmicro.grid.acl.l0;
2   
3   import javax.xml.bind.annotation.XmlRootElement;
4   import javax.xml.bind.annotation.XmlType;
5   import javax.xml.ws.WebFault;
6   
7   /**
8    * Is thrown in case of the request arguments or the state is invalid.
9    *
10   * @author juergen_kellerer, 2010-05-20
11   * @version 1.0
12   */
13  @XmlType(namespace = Level0Constants.NAMESPACE)
14  @XmlRootElement(namespace = Level0Constants.NAMESPACE)
15  @WebFault(targetNamespace = Level0Constants.NAMESPACE)
16  public class IllegalRequestException extends WebException {
17  	private static final long serialVersionUID = -6584230692923576823L;
18  
19  	public IllegalRequestException() {
20  	}
21  
22  	public IllegalRequestException(RuntimeException e) {
23  		super("REQ99", e.getMessage());
24  		initCause(e);
25  	}
26  
27  	public IllegalRequestException(String message) {
28  		super("REQ00", message);
29  	}
30  
31  	public IllegalRequestException(String code, String message) {
32  		super(code, message);
33  	}
34  }