Skip to content

Commit 40f7a17

Browse files
authored
Merge pull request #326 from filip26/release/v1.4.0
v1.4.0
2 parents 760b0f7 + c785d81 commit 40f7a17

File tree

6 files changed

+13
-7
lines changed

6 files changed

+13
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@ Java 11+
7171
<dependency>
7272
<groupId>com.apicatalog</groupId>
7373
<artifactId>titanium-json-ld</artifactId>
74-
<version>1.3.3</version>
74+
<version>1.4.0</version>
7575
</dependency>
7676
```
7777

7878
##### Gradle
7979
Java 8+, Android API Level >=24
8080

8181
```gradle
82-
implementation("com.apicatalog:titanium-json-ld-jre8:1.3.3")
82+
implementation("com.apicatalog:titanium-json-ld-jre8:1.4.0")
8383
```
8484

8585
#### JSON-P Provider
@@ -153,7 +153,7 @@ JsonLd.compact(document, contextDocument).get();
153153
...
154154
```
155155

156-
#### Processing Timeout
156+
#### Processing Timeout [experimental]
157157
A processor gets terminated eventually after a specified time. Please note
158158
the duration does not cover `DocumentLoader` processing time.
159159
You have to set-up a read timeout separately.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.apicatalog</groupId>
88
<artifactId>titanium</artifactId>
9-
<version>1.4.0-SNAPSHOT</version>
9+
<version>1.4.0</version>
1010
<relativePath>pom_parent.xml</relativePath>
1111
</parent>
1212
<artifactId>titanium-json-ld</artifactId>

pom_jre8.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.apicatalog</groupId>
88
<artifactId>titanium</artifactId>
9-
<version>1.4.0-SNAPSHOT</version>
9+
<version>1.4.0</version>
1010
<relativePath>pom_parent.xml</relativePath>
1111
</parent>
1212
<artifactId>titanium-json-ld-jre8</artifactId>

pom_parent.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<modelVersion>4.0.0</modelVersion>
77
<groupId>com.apicatalog</groupId>
88
<artifactId>titanium</artifactId>
9-
<version>1.4.0-SNAPSHOT</version>
9+
<version>1.4.0</version>
1010
<packaging>pom</packaging>
1111

1212
<name>Titanium JSON-LD 1.1</name>

src/main/java/com/apicatalog/jsonld/JsonLdError.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ public JsonLdError(JsonLdErrorCode code, Throwable cause) {
4343
this.code = code;
4444
}
4545

46+
public JsonLdError(JsonLdErrorCode code, String message, Throwable cause) {
47+
super(message, cause);
48+
this.code = code;
49+
}
50+
51+
4652
public JsonLdErrorCode getCode() {
4753
return code;
4854
}

src/main/java/com/apicatalog/jsonld/context/ActiveContextBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ private void fetch(final String context, final URI baseUrl) throws JsonLdError {
530530

531531
// 5.2.5.1.
532532
} catch (JsonLdError e) {
533-
throw new JsonLdError(JsonLdErrorCode.LOADING_REMOTE_CONTEXT_FAILED, e);
533+
throw new JsonLdError(JsonLdErrorCode.LOADING_REMOTE_CONTEXT_FAILED, "There wa a problem encountered loading a remote context [" + contextUri + "]", e);
534534
}
535535

536536
if (remoteImport == null) {

0 commit comments

Comments
 (0)