Class ProductsUnexpectedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
es.kukenan.smartfi.microservice.contracts.service.exceptions.ProductsUnexpectedException
All Implemented Interfaces:
Serializable

public class ProductsUnexpectedException extends RuntimeException
Unexpected error condition exception for products services.
See Also:
  • Field Details

    • uuid

      private final String uuid
      Universally unique identifier for this exception.
    • code

      private final String code
      Error code.
  • Constructor Details

    • ProductsUnexpectedException

      public ProductsUnexpectedException(String message, Throwable cause)
      Constructor.
      Parameters:
      message - error message.
      cause - error cause, if any.
    • ProductsUnexpectedException

      protected ProductsUnexpectedException(String message, Throwable cause, String code)
      Constructor.
      Parameters:
      message - error message.
      cause - error cause, if any.
      code - the exception code.
  • Method Details