1    /****************************************************************************
2    * Copyright (c) 2005, 2006, 2007, 2008, 2009 Imola Informatica.
3    * All rights reserved. This program and the accompanying materials
4    * are made available under the terms of the LGPL License v2.1
5    * which accompanies this distribution, and is available at
6    * http://www.gnu.org/licenses/lgpl.html
7    ****************************************************************************/
8   package it.imolinfo.jbi4corba.test.webservice.generator.testclasses;
9   
10  import javax.xml.bind.annotation.XmlAccessType;
11  import javax.xml.bind.annotation.XmlAccessorType;
12  import javax.xml.bind.annotation.XmlAttribute;
13  import javax.xml.bind.annotation.XmlRootElement;
14  
15  
16  @XmlAccessorType(XmlAccessType.FIELD)
17  public class UserProfileException extends Exception 
18  {    
19    public String userCode = null;
20    public String reason = null;  
21    public UserProfile[] profiles = null;
22    
23    public UserProfileException ()
24    {
25      super();
26    } // ctor
27    
28    
29    public String getUserCode() {
30        return userCode;
31    }
32  
33    public void setUserCode(String userCode) {
34        this.userCode = userCode;
35    }
36    
37    
38    public String getReason() {
39        return reason;
40    }
41  
42    /**
43   * @param reason
44   */
45  public void setReason(String reason) {
46        this.reason = reason;
47    }
48  
49  
50  public UserProfile[] getProfiles() {
51      return profiles;
52  }
53  
54  public void setProfiles(UserProfile[] profiles) {
55      this.profiles = profiles;
56  }
57  
58  
59      
60  } // class UserProfileException