public class PainlessError
extends java.lang.Error
Exception. This prevents the user from catching this specific error
(as Exceptions are available in the Painless API, but Errors are not,) and possibly continuing to do
something hazardous. The alternative was extending Throwable, but that seemed worse than using
an Error in this case.| Constructor and Description |
|---|
PainlessError(java.lang.String message)
Constructor.
|