Package co.elastic.clients.util
Class MissingRequiredPropertyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
co.elastic.clients.util.MissingRequiredPropertyException
- All Implemented Interfaces:
Serializable
Thrown by
ObjectBuilder.build()
when a required property is missing.
If you think this is an error and that the reported property is actually optional, a workaround is
available in ApiTypeHelper
to disable checks. Use with caution.
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MissingRequiredPropertyException
-
-
Method Details
-
getObjectClass
The class where the missing property was found -
getPropertyName
-