Class FailedToCreatePostException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.example.blogs.app.api.post.exception.FailedToCreatePostException
- All Implemented Interfaces:
Serializable
Exception thrown when post creation fails due to underlying service or repository errors.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception with the cause of the failure. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FailedToCreatePostException
Constructs a new exception with the cause of the failure.- Parameters:
cause- the underlying cause of the exception
-