Class MediaUploadException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.ygbstudio.powerwp4j.exceptions.MediaUploadException
All Implemented Interfaces:
Serializable

public class MediaUploadException extends RuntimeException
Exception thrown when there is an error during or before a media upload procedure.
Since:
0.1.0
Author:
Yoham Gabriel B. @ YGBStudio
See Also:
  • Constructor Details

    • MediaUploadException

      public MediaUploadException(String message)
      Creates a new media upload exception with the given message.
      Parameters:
      message - the detail message explaining the cause of the failure.
    • MediaUploadException

      public MediaUploadException(@NotNull @NotNull Supplier<String> message)
      Creates a new media upload exception with a lazily computed message.
      Parameters:
      message - a supplier that lazily computes the detail message explaining the cause of the failure.