Class ElasticClientException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- co.elasticsearch.enterprisesearch.client.ElasticClientException
-
- All Implemented Interfaces:
Serializable
public class ElasticClientException extends RuntimeException
Represents an exception on the client's side of the request- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElasticClientException()Create an empty exceptionElasticClientException(String message)Create an empty exception with a messageElasticClientException(String message, Throwable cause)Create an empty exception with a messageElasticClientException(Throwable cause)Create an empty exception with a root exception
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ElasticClientException
public ElasticClientException()
Create an empty exception
-
ElasticClientException
public ElasticClientException(String message)
Create an empty exception with a message- Parameters:
message- the exception message
-
ElasticClientException
public ElasticClientException(String message, Throwable cause)
Create an empty exception with a message- Parameters:
message- the exception messagecause- The root cause of the exception
-
ElasticClientException
public ElasticClientException(Throwable cause)
Create an empty exception with a root exception- Parameters:
cause- The root cause of the exception
-
-