Class ServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.davidmoten.oa3.codegen.spring.runtime.ServiceException
- All Implemented Interfaces:
Serializable,HasStatusCode
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServiceException(int statusCode, String message) ServiceException(int statusCode, String message, Optional<? extends org.springframework.http.ResponseEntity<?>> response) ServiceException(int statusCode, Throwable e) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServiceException
-
ServiceException
-
ServiceException
-
-
Method Details
-
statusCode
public int statusCode()- Specified by:
statusCodein interfaceHasStatusCode
-
response
-