Class GeneralScriptException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.elasticsearch.ElasticsearchException
org.elasticsearch.script.GeneralScriptException
All Implemented Interfaces:
java.io.Serializable, Writeable, ToXContent, ToXContentFragment

@Deprecated
public class GeneralScriptException
extends ElasticsearchException
Deprecated.
Use ScriptException for exceptions from the scripting engine, otherwise use a more appropriate exception (e.g. if thrown from various abstractions)
Simple exception class from a script.

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.

See Also:
Serialized Form