Package org.opensearch.client.util
Class MissingRequiredPropertyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.opensearch.client.util.MissingRequiredPropertyException
-
- All Implemented Interfaces:
java.io.Serializable
public class MissingRequiredPropertyException extends java.lang.RuntimeExceptionThrown byObjectBuilder.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
ApiTypeHelperto disable checks. Use with caution.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MissingRequiredPropertyException(java.lang.Object obj, java.lang.String property)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>getObjectClass()The class where the missing property was foundjava.lang.StringgetPropertyName()
-