public final class ServiceException extends Exception
| Constructor and Description |
|---|
ServiceException(int statusCode,
String message) |
ServiceException(int statusCode,
Throwable e) |
ServiceException(org.springframework.http.ResponseEntity<?> response) |
| Modifier and Type | Method and Description |
|---|---|
Optional<? extends org.springframework.http.ResponseEntity<?>> |
response() |
int |
statusCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ServiceException(int statusCode,
String message)
public ServiceException(int statusCode,
Throwable e)
public ServiceException(org.springframework.http.ResponseEntity<?> response)
public int statusCode()
public Optional<? extends org.springframework.http.ResponseEntity<?>> response()
Copyright © 2023. All rights reserved.