Package tech.corefinance.common.ex
Class ServiceProcessingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tech.corefinance.common.ex.ServiceProcessingException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServiceProcessingException(String message) Create exception with error messageServiceProcessingException(String message, Throwable origin) Should not use this constructor as general cases.ServiceProcessingException(tech.corefinance.common.dto.GeneralApiResponse<?> apiResponse) Create exception with error messageServiceProcessingException(tech.corefinance.common.dto.GeneralApiResponse<?> apiResponse, Throwable origin) Create exception with error message -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServiceProcessingException
Should not use this constructor as general cases. Just use for special case only.- Parameters:
message- Error messageorigin- Origin exception
-
ServiceProcessingException
Create exception with error message- Parameters:
message- Error message
-
ServiceProcessingException
public ServiceProcessingException(tech.corefinance.common.dto.GeneralApiResponse<?> apiResponse) throws com.fasterxml.jackson.core.JsonProcessingException Create exception with error message- Parameters:
apiResponse- Error message- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
ServiceProcessingException
public ServiceProcessingException(tech.corefinance.common.dto.GeneralApiResponse<?> apiResponse, Throwable origin) throws com.fasterxml.jackson.core.JsonProcessingException Create exception with error message- Parameters:
apiResponse- Error message- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-