Fix javadoc.

This commit is contained in:
Olga Maciaszek-Sharma
2019-08-13 12:44:52 +02:00
parent 090cf97bb8
commit 1f6043d6bc
2 changed files with 4 additions and 3 deletions

View File

@@ -20,7 +20,8 @@ import org.springframework.web.bind.annotation.ResponseStatus;
import static org.springframework.http.HttpStatus.SERVICE_UNAVAILABLE;
@ResponseStatus(value = SERVICE_UNAVAILABLE, reason = "Upstream service is temporarily unavailable")
@ResponseStatus(value = SERVICE_UNAVAILABLE,
reason = "Upstream service is temporarily unavailable")
public class ServiceUnavailableException extends Exception {
public ServiceUnavailableException() {
@@ -32,7 +33,7 @@ public class ServiceUnavailableException extends Exception {
/**
* Disables fillInStackTrace for performance reasons.
* @return
* @return this
*/
@Override
public synchronized Throwable fillInStackTrace() {

View File

@@ -33,7 +33,7 @@ public class TimeoutException extends Exception {
/**
* Disables fillInStackTrace for performance reasons.
* @return
* @return this
*/
@Override
public synchronized Throwable fillInStackTrace() {