View Javadoc
1   package fr.paris.lutece.plugins.rtu.service;
2   
3   // TODO: Auto-generated Javadoc
4   /**
5    * The Class ApiRtuUnavailableException.
6    */
7   public class ApiRtuUnavailableException extends Exception {
8   	
9   	/** The nreturn code. */
10  	private Integer _nreturnCode;
11  	
12  	/**
13  	 * Instantiates a new api rtu unavailable exception.
14  	 */
15  	public ApiRtuUnavailableException() {
16  	}
17  	
18  	/**
19  	 * Instantiates a new api rtu unavailable exception.
20  	 *
21  	 * @param returnCode the return code
22  	 */
23  	public ApiRtuUnavailableException(Integer returnCode) {
24  		_nreturnCode = returnCode;
25  	}
26  
27  	/**
28  	 * Gets the return code.
29  	 *
30  	 * @return the return code
31  	 */
32  	public Integer getReturnCode() {
33  		return _nreturnCode;
34  	}
35  
36  	/**
37  	 * Sets the return code.
38  	 *
39  	 * @param _nreturnCode the new return code
40  	 */
41  	public void setReturnCode(Integer _nreturnCode) {
42  		this._nreturnCode = _nreturnCode;
43  	}
44  
45  }