Class DosyaNetworkException

All Implemented Interfaces:
Serializable

public final class DosyaNetworkException extends DosyaException
Thrown when a network-level error occurs while communicating with the Dosya API.

This includes connection timeouts, DNS resolution failures, and other I/O errors that prevent the HTTP request from completing.

Since:
0.1.0
See Also:
  • Constructor Details

    • DosyaNetworkException

      public DosyaNetworkException(@NotNull @NotNull String message)
      Creates a new network exception with the given message.
      Parameters:
      message - the detail message
    • DosyaNetworkException

      public DosyaNetworkException(@NotNull @NotNull String message, @Nullable @Nullable Throwable cause)
      Creates a new network exception with the given message and cause.
      Parameters:
      message - the detail message
      cause - the underlying cause, or null