Class ServiceProcessingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tech.corefinance.common.ex.ServiceProcessingException
All Implemented Interfaces:
Serializable

public class ServiceProcessingException extends RuntimeException
See Also:
  • Constructor Details

    • ServiceProcessingException

      public ServiceProcessingException(String message, Throwable origin)
      Should not use this constructor as general cases. Just use for special case only.
      Parameters:
      message - Error message
      origin - Origin exception
    • ServiceProcessingException

      public ServiceProcessingException(String message)
      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