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:
java.io.Serializable
public class SolrRestException extends SolrServiceException
Represents a Solr server REST call related exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SolrRestException(int statusCode)Constructs a new exception with null as its detail message and status code.SolrRestException(java.lang.String message, int statusCode)Constructs a new exception with the specified detail message and status code.SolrRestException(java.lang.String message, java.lang.Throwable cause, int statusCode)Constructs a new exception with the specified detail message, cause and status code.SolrRestException(java.lang.Throwable cause, int statusCode)Constructs a new exception with the specified cause and status code.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetStatusCode()
-
-
-
Constructor Detail
-
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:
Exception()
-
SolrRestException
public SolrRestException(java.lang.String message, int statusCode)Constructs a new exception with the specified detail message and status code.- Parameters:
message- - the messagestatusCode- - the status code- See Also:
Exception(String)
-
SolrRestException
public SolrRestException(java.lang.Throwable cause, int statusCode)Constructs a new exception with the specified cause and status code.- Parameters:
cause- - the causestatusCode- - the status code- See Also:
Exception(Throwable)
-
SolrRestException
public SolrRestException(java.lang.String message, java.lang.Throwable cause, int statusCode)Constructs a new exception with the specified detail message, cause and status code.- Parameters:
message- - the messagecause- - the causestatusCode- - the status code- See Also:
Exception(String, Throwable)
-
-