[Minor] added additional constructor to pass state and error msg

This commit is contained in:
Robert von Burg 2014-01-14 23:25:59 +01:00
parent a82cb7ae39
commit ae9a65393f
1 changed files with 10 additions and 0 deletions

View File

@ -37,6 +37,16 @@ public class ServiceResult implements Serializable {
this.state = state;
}
/**
* @param state
* @param message
*/
public ServiceResult(ServiceResultState state, String message) {
super();
this.state = state;
this.message = message;
}
/**
* @param state
* @param message