updated InternalServerException as child of WebApplicationException

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@176237 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2018-12-28 08:30:37 +00:00
parent 9a53dbbe13
commit 75d57b3c77
1 changed files with 4 additions and 5 deletions

View File

@ -7,7 +7,7 @@ package org.gcube.datatransfer.resolver.services.exceptions;
import java.net.URI; import java.net.URI;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.InternalServerErrorException; import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.MediaType; import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response; import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status; import javax.ws.rs.core.Response.Status;
@ -15,16 +15,15 @@ import javax.ws.rs.core.Response.Status;
import org.gcube.datatransfer.resolver.services.error.ErrorReport; import org.gcube.datatransfer.resolver.services.error.ErrorReport;
import org.gcube.datatransfer.resolver.services.error.ExceptionReport; import org.gcube.datatransfer.resolver.services.error.ExceptionReport;
import org.gcube.datatransfer.resolver.util.Util; import org.gcube.datatransfer.resolver.util.Util;
;
/** /**
* The Class BadParameterException. * The Class InternalServerException.
* *
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) * @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it)
* Oct 22, 2018 * Dec 28, 2018
*/ */
public class InternalServerException extends InternalServerErrorException { public class InternalServerException extends WebApplicationException {
/** /**
* *