Package org.frankframework.console
Class ApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.frankframework.console.ApiException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionApiException
(String msg) ApiException
(String msg, int status) ApiException
(String msg, Throwable t) ApiException
(String msg, org.springframework.http.HttpStatus status) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.http.ResponseEntity
<Object> formatExceptionResponse
(String message, org.springframework.http.HttpStatusCode status) static org.springframework.http.ResponseEntity
<Object> formatExceptionResponse
(String message, org.springframework.http.HttpStatusCode status, org.springframework.http.HttpHeaders headers) org.springframework.http.ResponseEntity
<Object> Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ApiException
-
ApiException
-
ApiException
-
ApiException
-
ApiException
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
getResponse
-
formatExceptionResponse
-
formatExceptionResponse
-