All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.jasminb.jsonapi.exceptions.ResourceParseException Maven / Gradle / Ivy

Go to download

JSONAPI-Converter is a library that provides means for integrating with services using JSON API specification.

There is a newer version: 0.14
Show newest version
package com.github.jasminb.jsonapi.exceptions;

import com.github.jasminb.jsonapi.models.errors.Errors;

/**
 * ResourceParseException implementation. 
* This exception is thrown from ResourceConverter in case parsed body contains 'errors' node. * * @author jbegic */ public class ResourceParseException extends RuntimeException { private final Errors errors; public ResourceParseException(Errors errors) { super(errors.toString()); this.errors = errors; } /** * Returns Errors or null * @return {@link Errors} */ public Errors getErrors() { return errors; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy