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
ConstructorsModifierConstructorDescriptionprotectedIwfHttpException(IwfHttpException exception) IwfHttpException(ObjectEncoder objectEncoder, feign.FeignException.FeignClientException exception) -
Method Summary
Modifier and TypeMethodDescriptionstatic IwfHttpExceptionfromFeignException(ObjectEncoder objectEncoder, feign.FeignException.FeignClientException exception) intMethods 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)
-