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:
java.io.Serializable
public class NoHostException extends HttpClientException
Thrown when a request is made that has no host information.- Since:
- 2.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoHostException(java.lang.String message)NoHostException(java.lang.String message, java.lang.Throwable cause)NoHostException(java.lang.String message, java.lang.Throwable cause, boolean shared)
-
Method Summary
-
Methods inherited from class io.micronaut.http.client.exceptions.HttpClientException
getMessage, getServiceId, setServiceId
-
-
-
-
Constructor Detail
-
NoHostException
public NoHostException(java.lang.String message)
- Parameters:
message- The message
-
NoHostException
public NoHostException(java.lang.String message, java.lang.Throwable cause)- Parameters:
message- The messagecause- The throwable
-
NoHostException
public NoHostException(java.lang.String message, java.lang.Throwable cause, boolean shared)- Parameters:
message- The messagecause- The throwableshared- Shared instance
-
-