Class SolrRestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.hybris.platform.solrfacetsearch.solr.exceptions.SolrServiceException
de.hybris.platform.solrfacetsearch.solr.exceptions.SolrRestException
- All Implemented Interfaces:
Serializable
Represents a Solr server REST call related exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSolrRestException(int statusCode) Constructs a new exception with null as its detail message and status code.SolrRestException(String message, int statusCode) Constructs a new exception with the specified detail message and status code.SolrRestException(String message, Throwable cause, int statusCode) Constructs a new exception with the specified detail message, cause and status code.SolrRestException(Throwable cause, int statusCode) Constructs a new exception with the specified cause and status code. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SolrRestException
public SolrRestException(int statusCode) Constructs a new exception with null as its detail message and status code.- Parameters:
statusCode- - the status code- See Also:
-
SolrRestException
Constructs a new exception with the specified detail message and status code.- Parameters:
message- - the messagestatusCode- - the status code- See Also:
-
SolrRestException
Constructs a new exception with the specified cause and status code.- Parameters:
cause- - the causestatusCode- - the status code- See Also:
-
SolrRestException
Constructs a new exception with the specified detail message, cause and status code.- Parameters:
message- - the messagecause- - the causestatusCode- - the status code- See Also:
-
-
Method Details
-
getStatusCode
public int getStatusCode()
-