![JAR search and dependency download from the Maven repository](/logo.png)
org.resthub.web.exception.InternalServerErrorClientException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of resthub-web-common Show documentation
Show all versions of resthub-web-common Show documentation
Common classes for both client and server RESThub modules
package org.resthub.web.exception;
import org.resthub.web.Http;
/**
* Exception mapped to Internal Server Error HTTP status code (500)
*/
@SuppressWarnings("serial")
public class InternalServerErrorClientException extends ClientException {
public InternalServerErrorClientException() {
super();
this.setStatusCode(Http.INTERNAL_SERVER_ERROR);
}
public InternalServerErrorClientException(final String message, final Throwable cause) {
super(message, cause);
this.setStatusCode(Http.INTERNAL_SERVER_ERROR);
}
public InternalServerErrorClientException(final String message) {
super(message);
this.setStatusCode(Http.INTERNAL_SERVER_ERROR);
}
public InternalServerErrorClientException(final Throwable cause) {
super(cause);
this.setStatusCode(Http.INTERNAL_SERVER_ERROR);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy