Adjust to yangtools-2.0.0/odlparent-3.0.0 changes
[netconf.git] / restconf / restconf-common / src / main / java / org / opendaylight / restconf / common / errors / RestconfDocumentedException.java
index 38a62117498c0d70ab4f13f38b92f9bcc0151b70..18519d6e9873a0e1964b028bbaa7d1e6d30d9ddc 100644 (file)
@@ -156,7 +156,7 @@ public class RestconfDocumentedException extends WebApplicationException {
         this.status = status;
     }
 
-    private RestconfDocumentedException(final Throwable cause, final RestconfError error) {
+    public RestconfDocumentedException(final Throwable cause, final RestconfError error) {
         super(cause);
         Preconditions.checkNotNull(error, "RestconfError can't be null");
         errors = ImmutableList.of(error);