@Deprecated public class GeneralScriptException extends ElasticsearchException
Use of this exception should generally be avoided, it doesn't provide much context or structure to users trying to debug scripting when things go wrong.
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<V>, Writeable.Writer<V>
REST_EXCEPTION_SKIP_CAUSE, REST_EXCEPTION_SKIP_CAUSE_DEFAULT, REST_EXCEPTION_SKIP_STACK_TRACE, REST_EXCEPTION_SKIP_STACK_TRACE_DEFAULT, UNKNOWN_VERSION_ADDED
EMPTY_PARAMS
Constructor and Description |
---|
GeneralScriptException(StreamInput in)
Deprecated.
|
GeneralScriptException(java.lang.String msg)
Deprecated.
|
GeneralScriptException(java.lang.String msg,
java.lang.Throwable cause)
Deprecated.
|
addHeader, addHeader, causeToXContent, getDetailedMessage, getExceptionName, getExceptionName, getHeader, getHeaderKeys, getId, getIndex, getResourceId, getResourceType, getRootCause, getShardId, guessRootCauses, guessRootCauses, innerToXContent, isRegistered, readException, readStackTrace, renderException, renderHeader, setIndex, setIndex, setResources, setShard, setShard, status, toString, toXContent, toXContent, unwrapCause, writeStackTraces, writeTo
public GeneralScriptException(java.lang.String msg)
public GeneralScriptException(java.lang.String msg, java.lang.Throwable cause)
public GeneralScriptException(StreamInput in) throws java.io.IOException
java.io.IOException