Package org.apache.archiva.rest.services

Examples of org.apache.archiva.rest.services.ArchivaRestError


    implements ExceptionMapper<ArchivaRestServiceException>
{
    @Override
    public Response toResponse( ArchivaRestServiceException e )
    {
        ArchivaRestError restError = new ArchivaRestError( e );
        Response.ResponseBuilder responseBuilder = Response.status( e.getHttpErrorCode() ).entity( restError );
        return responseBuilder.build();
    }
View Full Code Here


public class ArchivaRestServiceExceptionMapper
    implements ExceptionMapper<ArchivaRestServiceException>
{
    public Response toResponse( ArchivaRestServiceException e )
    {
        ArchivaRestError restError = new ArchivaRestError( e );
        Response.ResponseBuilder responseBuilder = Response.status( e.getHttpErrorCode() ).entity( restError );
        return responseBuilder.build();
    }
View Full Code Here

TOP

Related Classes of org.apache.archiva.rest.services.ArchivaRestError

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.