Class WpNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.evisentin.wordpress.client.domain.exception.WpNotFoundException
- All Implemented Interfaces:
Serializable
Exception thrown when the WordPress REST API returns a 404 Not Found response.
This typically indicates that the requested resource does not exist or is not accessible.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWpNotFoundException(WpError error) Creates a new exception for a 404 Not Found response. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WpNotFoundException
Creates a new exception for a 404 Not Found response.- Parameters:
error- the error returned by the WordPress REST API
-