Class MTException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CategoryNotFoundException, ImageUploadException, ProductNotFoundException

public class MTException extends RuntimeException
Base exception class for the e-commerce product module.
See Also:
  • Constructor Details

    • MTException

      public MTException(String message)
      Constructs a new MTException with the specified detail message.
      Parameters:
      message - the detail message
    • MTException

      public MTException(String message, Throwable cause)
      Constructs a new MTException with the specified detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause of the exception