Package io.iworkflow.core
Class IwfHttpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.iworkflow.core.IwfHttpException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ClientSideException
,ServerSideException
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
IwfHttpException
(IwfHttpException exception) IwfHttpException
(ObjectEncoder objectEncoder, feign.FeignException.FeignClientException exception) -
Method Summary
Modifier and TypeMethodDescriptionstatic IwfHttpException
fromFeignException
(ObjectEncoder objectEncoder, feign.FeignException.FeignClientException exception) int
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IwfHttpException
public IwfHttpException(ObjectEncoder objectEncoder, feign.FeignException.FeignClientException exception) -
IwfHttpException
-
IwfHttpException
public IwfHttpException()
-
-
Method Details
-
getErrorDetails
-
getStatusCode
public int getStatusCode() -
getErrorSubStatus
-
getErrorResponse
-
fromFeignException
public static IwfHttpException fromFeignException(ObjectEncoder objectEncoder, feign.FeignException.FeignClientException exception)
-