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

org.yamcs.http.ServiceUnavailableException Maven / Gradle / Ivy

There is a newer version: 5.10.9
Show newest version
package org.yamcs.http;

import io.netty.handler.codec.http.HttpResponseStatus;

/**
 * Something really wrong and unexpected occurred on the server. A bug.
 */
public class ServiceUnavailableException extends HttpException {
    private static final long serialVersionUID = 1L;

    public ServiceUnavailableException(Throwable t) {
        super(t);
    }

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

    public ServiceUnavailableException(String message, Throwable t) {
        super(message, t);
    }

    @Override
    public HttpResponseStatus getStatus() {
        return HttpResponseStatus.SERVICE_UNAVAILABLE;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy