As it turned out our container uses jax-rs 1.0 so we removed
unnecessarily call to 2.0 constructor.
Change-Id: I23c38871050c34d721b21369da5b162a18925a9d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
* Constructs an instance with the given errors.
*/
public RestconfDocumentedException(String message, Throwable cause, List<RestconfError> errors) {
- super(message, cause);
+ // FIXME: We override getMessage so supplied message is lost for any public access
+ // this was lost also in original code.
+ super(cause);
if(!errors.isEmpty()) {
this.errors = ImmutableList.copyOf(errors);
} else {