Class NoHostException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.http.exceptions.HttpException
io.micronaut.http.client.exceptions.HttpClientException
io.micronaut.http.client.exceptions.NoHostException
All Implemented Interfaces:
Serializable

public class NoHostException extends HttpClientException
Thrown when a request is made that has no host information.
Since:
2.0.0
See Also:
  • Constructor Details

    • NoHostException

      public NoHostException(String message)
      Parameters:
      message - The message
    • NoHostException

      public NoHostException(String message, Throwable cause)
      Parameters:
      message - The message
      cause - The throwable
    • NoHostException

      public NoHostException(String message, Throwable cause, boolean shared)
      Parameters:
      message - The message
      cause - The throwable
      shared - Shared instance