public class AppExceptionMessage extends Object
| Constructor and Description |
|---|
AppExceptionMessage()
Needed for serialization / de-serialization.
|
AppExceptionMessage(javax.ws.rs.core.Response.Status status,
String message)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Gets the message.
|
int |
getStatus()
Sets the server response status.
|
void |
setMessage(String message)
Sets the error message.
|
void |
setStatus(int status)
Sets the status.
|
public AppExceptionMessage()
public AppExceptionMessage(javax.ws.rs.core.Response.Status status,
String message)
status - the response server status.message - the actual error message.public String getMessage()
public void setMessage(String message)
message - the new messagepublic int getStatus()
public void setStatus(int status)
status - the server response status.Copyright © 2010–2018 Eclipse Foundation. All rights reserved.