Package org.libreplan.ws.common.api

Examples of org.libreplan.ws.common.api.ConcurrentModificationErrorDTO


        ExceptionMapper<HibernateOptimisticLockingFailureException> {

    public Response toResponse(HibernateOptimisticLockingFailureException e) {
        return Response
                .status(Response.Status.INTERNAL_SERVER_ERROR)
                .entity(new ConcurrentModificationErrorDTO(
                        e.getMessage(), Util.getStackTrace(e)))
                .type("application/xml").build();
    }
View Full Code Here

TOP

Related Classes of org.libreplan.ws.common.api.ConcurrentModificationErrorDTO

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.