public class SolrRestException extends SolrServiceException
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getStatusCode() |
public SolrRestException(int statusCode)
statusCode - - the status codeException.Exception()public SolrRestException(java.lang.String message,
int statusCode)
message - - the messagestatusCode - - the status codeException.Exception(String)public SolrRestException(java.lang.Throwable cause,
int statusCode)
cause - - the causestatusCode - - the status codeException.Exception(Throwable)public SolrRestException(java.lang.String message,
java.lang.Throwable cause,
int statusCode)
message - - the messagecause - - the causestatusCode - - the status codeException.Exception(String, Throwable)Copyright © 2018 SAP SE. All Rights Reserved.