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

z11.rs.exception.UnknowException Maven / Gradle / Ivy

There is a newer version: 1.8
Show newest version
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package z11.rs.exception;

import javax.ws.rs.core.Response;

/**
 *
 * @author danny
 */
public class UnknowException extends RestException {

    public UnknowException(String message) {
        super(message);
    }

    @Override
    public Response makeHttpResponse() {
        return makeHttpResponse(Response.Status.INTERNAL_SERVER_ERROR);
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy