getInputValueWithWarning() method

Similar to getInputValue() but this method throws RequiredParameterMissingException when the input attribute is not optional (or mandatory) but the value is null (or not populated).

Syntax

InputValue getInputValueWithWarning () throws DBException, RequiredParameterMissingException

Returns

value in InputValue type

Exceptions

Usage

This method is useful for processing multiple required input attributes as shown below:

		try {
			// Attribute 1
			attrib1.getInputValueWithWarning();

			// Attribute 2
			attrib2.getInputValueWithWarning();

		catch (RequiredParameterMissingException rex) {
			handle the missing mandatory attributes
		}

value in InputValue type