Class CategoryNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.mt.ecommerce.product.exception.MTException
com.mt.ecommerce.product.exception.CategoryNotFoundException
- All Implemented Interfaces:
Serializable
Exception thrown when a requested category is not found.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCategoryNotFoundException
(String message) Constructs a new CategoryNotFoundException with the specified detail message.CategoryNotFoundException
(String message, Throwable cause) Constructs a new CategoryNotFoundException with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CategoryNotFoundException
Constructs a new CategoryNotFoundException with the specified detail message.- Parameters:
message
- the detail message
-
CategoryNotFoundException
Constructs a new CategoryNotFoundException with the specified detail message and cause.- Parameters:
message
- the detail messagecause
- the cause of the exception
-