Package net.ygbstudio.powerwp4j.exceptions
package net.ygbstudio.powerwp4j.exceptions
Unchecked exception hierarchy for PowerWP4j.
Groups failures by concern: configuration (LocalConfigurationException, SSLConfigurationException), transport (WPRequestException, InvalidApiUrlException, MediaUploadException) and cache (CacheConstructionException, CacheFileSystemException, CacheMetaDataException). All extend RuntimeException
and are thrown from engine and services packages.
- Since:
- 0.1.0
-
Exception ClassesClassDescriptionCacheConstructionException is an exception that is thrown when there is an error constructing the cache.Exception thrown when a file system error occurs while working with the local cache file.CacheMetaDataException is an exception that is thrown when there is an error with the cache metadata or its creation.Exception thrown when an invalid API URL is provided and any of the internal methods of PowerWP4j detect a
URISyntaxException.Thrown when local configuration is missing or invalid.Exception thrown when there is an error during or before a media upload procedure.Thrown when there is a failure configuring the SSL/TLS layer for communicating with the WordPress REST API.Thrown when a request to the WordPress REST API fails or returns an error response.