@@ -62,7 +62,6 @@ public BasicJsonTester(Class<?> resourceLoadClass) {
6262 * using {@code resourceLoadClass}.
6363 * @param source JSON content or a {@code .json} resource name
6464 * @return the JSON content
65- * @on load error
6665 */
6766 public JsonContent <Object > from (CharSequence source ) {
6867 return getJsonContent (this .loader .getJson (source ));
@@ -73,7 +72,6 @@ public JsonContent<Object> from(CharSequence source) {
7372 * @param path the path of the resource to load
7473 * @param resourceLoadClass the classloader used load the resource
7574 * @return the JSON content
76- * @on load error
7775 */
7876 public JsonContent <Object > from (String path , Class <?> resourceLoadClass ) {
7977 return getJsonContent (this .loader .getJson (path , resourceLoadClass ));
@@ -83,7 +81,6 @@ public JsonContent<Object> from(String path, Class<?> resourceLoadClass) {
8381 * Create JSON content from the specified JSON bytes.
8482 * @param source the bytes of JSON
8583 * @return the JSON content
86- * @on load error
8784 */
8885 public JsonContent <Object > from (byte [] source ) {
8986 return getJsonContent (this .loader .getJson (source ));
@@ -93,7 +90,6 @@ public JsonContent<Object> from(byte[] source) {
9390 * Create JSON content from the specified JSON file.
9491 * @param source the file containing JSON
9592 * @return the JSON content
96- * @on load error
9793 */
9894 public JsonContent <Object > from (File source ) {
9995 return getJsonContent (this .loader .getJson (source ));
@@ -103,7 +99,6 @@ public JsonContent<Object> from(File source) {
10399 * Create JSON content from the specified JSON input stream.
104100 * @param source the input stream containing JSON
105101 * @return the JSON content
106- * @on load error
107102 */
108103 public JsonContent <Object > from (InputStream source ) {
109104 return getJsonContent (this .loader .getJson (source ));
@@ -113,7 +108,6 @@ public JsonContent<Object> from(InputStream source) {
113108 * Create JSON content from the specified JSON resource.
114109 * @param source the resource containing JSON
115110 * @return the JSON content
116- * @on load error
117111 */
118112 public JsonContent <Object > from (Resource source ) {
119113 return getJsonContent (this .loader .getJson (source ));
0 commit comments