Package co.elastic.clients.transport
Class TransportException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
co.elastic.clients.transport.TransportException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransportException
(int statusCode, String message, String endpointId) TransportException
(int statusCode, String message, String endpointId, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionIdentifier of the API endpoint that caused the exception, if known.int
Status code returned by the http resquestMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransportException
-
TransportException
-
-
Method Details
-
statusCode
public int statusCode()Status code returned by the http resquest -
endpointId
Identifier of the API endpoint that caused the exception, if known.
-