Package org.apache.solr.common
Class SolrErrorWrappingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.solr.common.SolrException
org.apache.solr.common.SolrErrorWrappingException
- All Implemented Interfaces:
Serializable
Subclass of SolrException that allows us to wrap arbitrary error objects, and pass them in the
errorMessage while preserving the error object structure when returning a response to the user.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.common.SolrException
SolrException.ErrorCode -
Field Summary
Fields inherited from class org.apache.solr.common.SolrException
details, metadata -
Constructor Summary
ConstructorsConstructorDescriptionSolrErrorWrappingException(SolrException.ErrorCode code, String msg, List<Map<String, Object>> errs) -
Method Summary
Methods inherited from class org.apache.solr.common.SolrException
code, getDetails, getMetadata, getMetadata, getRootCause, getRootThrowable, getThrowable, logDebugWithMdc, logInfoWithMdc, logWarnWithMdc, setDetails, setMetadata, setMetadata, wrapLuceneTragicExceptionIfNecessaryMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SolrErrorWrappingException
-
-
Method Details
-
getResponseMessage
- Overrides:
getResponseMessagein classSolrException
-
getMessage
- Overrides:
getMessagein classThrowable
-
constructMessage
-