Class SmartfiCoreException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
es.kukenan.smartfi.microservice.smartficore.exception.SmartfiCoreException
All Implemented Interfaces:
Serializable

public class SmartfiCoreException extends RuntimeException
Exception for Tuco Core reply endpoints.
See Also:
  • Field Details

    • status

      private org.springframework.http.HttpStatus status
      Http status.
    • errors

      private List<es.kukenan.smartfi.microservice.backoffice.dtos.core.response.CoreResponse.Error> errors
      List of errors.
  • Constructor Details

    • SmartfiCoreException

      public SmartfiCoreException(org.springframework.http.HttpStatus status, String msg)
      Exception constructor.
      Parameters:
      status - Http status
      msg - exception message
    • SmartfiCoreException

      public SmartfiCoreException(org.springframework.http.HttpStatus status, String msg, List<es.kukenan.smartfi.microservice.backoffice.dtos.core.response.CoreResponse.Error> errors)
      Exception constructor.
      Parameters:
      status - Http status
      msg - exception message
      errors - error list