com.softicar.platform.common.network.http.error.HttpInternalServerError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.network.http.error;
import com.softicar.platform.common.network.http.HttpStatusCode;
/**
* Represents the HTTP error 500 Internal Server Error.
*
* A generic error message, given when an unexpected condition was
* encountered and no more specific message is suitable.
*
* @author Oliver Richers
*/
public class HttpInternalServerError extends HttpError {
public HttpInternalServerError() {
this("Internal Server Error");
}
public HttpInternalServerError(Throwable cause) {
this(cause, "Internal Server Error");
}
public HttpInternalServerError(String message, Object...arguments) {
this(null, message, arguments);
}
public HttpInternalServerError(Throwable cause, String message, Object...arguments) {
super(HttpStatusCode.INTERNAL_SERVER_ERROR, cause, message, arguments);
}
}