root / src / com / rackspace / cloud / loadbalancers / api / client / http / LoadBalancersException.java @ 23bc5e75
History | View | Annotate | Download (854 Bytes)
1 |
/**
|
---|---|
2 |
*
|
3 |
*/
|
4 |
package com.rackspace.cloud.loadbalancers.api.client.http; |
5 |
|
6 |
public class LoadBalancersException extends Exception { |
7 |
|
8 |
private static final long serialVersionUID = -4788874449651935081L; |
9 |
private int code; |
10 |
private String message; |
11 |
private String details; |
12 |
|
13 |
/**
|
14 |
* @return the code
|
15 |
*/
|
16 |
public int getCode() { |
17 |
return code;
|
18 |
} |
19 |
/**
|
20 |
* @param code the code to set
|
21 |
*/
|
22 |
public void setCode(int code) { |
23 |
this.code = code;
|
24 |
} |
25 |
/**
|
26 |
* @return the message
|
27 |
*/
|
28 |
public String getMessage() { |
29 |
return message;
|
30 |
} |
31 |
/**
|
32 |
* @param message the message to set
|
33 |
*/
|
34 |
public void setMessage(String message) { |
35 |
this.message = message;
|
36 |
} |
37 |
/**
|
38 |
* @return the details
|
39 |
*/
|
40 |
public String getDetails() { |
41 |
return details;
|
42 |
} |
43 |
/**
|
44 |
* @param details the details to set
|
45 |
*/
|
46 |
public void setDetails(String details) { |
47 |
this.details = details;
|
48 |
} |
49 |
|
50 |
|
51 |
} |