Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ An implementation of the [Decentralized Identifiers (DIDs) v1.0](https://www.w3.
<dependency>
<groupId>com.apicatalog</groupId>
<artifactId>carbon-did</artifactId>
<version>0.9.1</version>
<version>0.9.2</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.apicatalog</groupId>
<artifactId>carbon-did</artifactId>

<version>0.9.1</version>
<version>0.9.2</version>
<packaging>jar</packaging>

<url>https://github.com/filip26/carbon-did-core</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,23 @@ public DidResolutionException(String did, String message, Throwable e) {
this.code = Code.Internal;
}

/**
* Creates a new resolution exception.
* <p>
* Code is set to {@link Code#Internal}.
* </p>
*
* @param did the DID being resolved (may be {@code null})
* @param code error code
* @param message detail message
* @param e the cause
*/
public DidResolutionException(String did, Code code, String message, Throwable e) {
super(message, e);
this.did = did;
this.code = code;
}

/**
* Returns the DID that failed to resolve.
*
Expand Down