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:
java.io.Serializable
- Direct Known Subclasses:
ClientSideException
,ServerSideException
public abstract class IwfHttpException extends java.lang.RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description IwfHttpException()
protected
IwfHttpException(IwfHttpException exception)
IwfHttpException(ObjectEncoder objectEncoder, feign.FeignException.FeignClientException exception)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IwfHttpException
fromFeignException(ObjectEncoder objectEncoder, feign.FeignException.FeignClientException exception)
java.lang.String
getErrorDetails()
ErrorResponse
getErrorResponse()
ErrorSubStatus
getErrorSubStatus()
int
getStatusCode()
-
-
-
Constructor Detail
-
IwfHttpException
public IwfHttpException(ObjectEncoder objectEncoder, feign.FeignException.FeignClientException exception)
-
IwfHttpException
protected IwfHttpException(IwfHttpException exception)
-
IwfHttpException
public IwfHttpException()
-
-
Method Detail
-
getErrorDetails
public java.lang.String getErrorDetails()
-
getStatusCode
public int getStatusCode()
-
getErrorSubStatus
public ErrorSubStatus getErrorSubStatus()
-
getErrorResponse
public ErrorResponse getErrorResponse()
-
fromFeignException
public static IwfHttpException fromFeignException(ObjectEncoder objectEncoder, feign.FeignException.FeignClientException exception)
-
-