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(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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getStatusCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SolrRestException(int statusCode)
statusCode - - the status codeException.Exception()public SolrRestException(String message, int statusCode)
message - - the messagestatusCode - - the status codeException.Exception(String)public SolrRestException(Throwable cause, int statusCode)
cause - - the causestatusCode - - the status codeException.Exception(Throwable)public SolrRestException(String message, Throwable cause, int statusCode)
message - - the messagecause - - the causestatusCode - - the status codeException.Exception(String, Throwable)Copyright © 2017 SAP SE. All Rights Reserved.