Home
last modified time | relevance | path

Searched refs:ValidationError (Results 1 – 25 of 30) sorted by relevance

12

/external/libchrome/mojo/public/cpp/bindings/lib/
Dvalidation_errors.h20 enum ValidationError { enum
80 const char* ValidationErrorToString(ValidationError error);
84 ValidationError error,
89 ValidationError error,
115 ValidationError last_error() const { return last_error_; } in COMPONENT_EXPORT()
116 void set_last_error(ValidationError error) { in COMPONENT_EXPORT()
122 ValidationError last_error_; in COMPONENT_EXPORT()
133 bool ReportSerializationWarning(ValidationError error);
143 ValidationError last_warning() const { return last_warning_; } in COMPONENT_EXPORT()
144 void set_last_warning(ValidationError error) { last_warning_ = error; } in COMPONENT_EXPORT()
[all …]
Dvalidation_errors.cc21 const char* ValidationErrorToString(ValidationError error) { in ValidationErrorToString()
67 ValidationError error, in ReportValidationError()
99 ValidationError error, in ReportValidationErrorForMessage()
128 bool ReportSerializationWarning(ValidationError error) { in ReportSerializationWarning()
Dvalidation_util.cc20 ValidationError error, in ReportNonNullableValidationError()
Dvalidation_util.h24 ValidationError error,
Darray_internal.h161 static const ValidationError kError =
/external/junit/src/main/java/org/junit/internal/runners/rules/
DRuleMemberValidator.java183 errors.add(new ValidationError(member, annotation, message)); in validate()
194 errors.add(new ValidationError(member, annotation, in validate()
206 errors.add(new ValidationError(member, annotation, in validate()
222 errors.add(new ValidationError(member, annotation, in validate()
234 errors.add(new ValidationError(member, annotation, in validate()
247 errors.add(new ValidationError(member, annotation, in validate()
260 errors.add(new ValidationError(member, annotation, in validate()
274 errors.add(new ValidationError(member, annotation, in validate()
DValidationError.java7 class ValidationError extends Exception { class
8 …public ValidationError(FrameworkMember<?> member, Class<? extends Annotation> annotation, String s… in ValidationError() method in ValidationError
/external/python/apitools/apitools/base/protorpclite/
Dmessages_test.py54 str(messages.ValidationError('Validation error')))
58 validation_error = messages.ValidationError('Validation error')
377 self.assertRaises(messages.ValidationError,
397 messages.ValidationError,
405 messages.ValidationError,
410 messages.ValidationError,
430 messages.ValidationError,
445 messages.ValidationError,
463 messages.ValidationError,
480 messages.ValidationError,
[all …]
Dmessages.py135 class ValidationError(Error): class
811 raise ValidationError(
826 except ValidationError as err:
839 except ValidationError:
1246 except ValidationError as err:
1291 raise ValidationError(
1334 raise ValidationError('Required field is missing')
1339 raise ValidationError('Expected type %s for %s, '
1344 raise ValidationError(
1374 raise ValidationError(
[all …]
Dprotojson_test.py180 self.assertRaises(messages.ValidationError,
183 self.assertRaises(messages.ValidationError,
186 self.assertRaises(messages.ValidationError,
392 self.assertRaises(messages.ValidationError, protojson.decode_message,
Dtest_util.py437 self.assertRaises(messages.ValidationError,
534 self.assertRaisesWithRegexpMatch(messages.ValidationError,
/external/autotest/frontend/afe/
Drpc_utils.py267 raise model_logic.ValidationError(
317 raise model_logic.ValidationError(
375 raise model_logic.ValidationError(
393 raise model_logic.ValidationError({
409 raise model_logic.ValidationError({
413 raise model_logic.ValidationError({
416 raise model_logic.ValidationError({
488 raise model_logic.ValidationError(
499 raise model_logic.ValidationError(
776 raise model_logic.ValidationError({
[all …]
Drdb_model_extensions.py117 raise django_exceptions.ValidationError(errors)
162 raise django_exceptions.ValidationError('%s required to create %s, '
Drpc_interface_unittest.py474 self.assertRaises(model_logic.ValidationError,
477 self.assertRaises(model_logic.ValidationError,
500 self.assertRaises(model_logic.ValidationError,
504 self.assertRaises(model_logic.ValidationError,
593 self.assertRaises(model_logic.ValidationError,
709 self.assertRaises(model_logic.ValidationError, rpc_interface.add_label,
712 self.assertRaises(model_logic.ValidationError, rpc_interface.add_host,
718 self.assertRaises(model_logic.ValidationError,
721 self.assertRaises(model_logic.ValidationError,
898 self.assertRaises(model_logic.ValidationError, self._create_job_helper,
[all …]
Dmodel_logic.py17 class ValidationError(django.core.exceptions.ValidationError): class
640 except django.core.exceptions.ValidationError, e:
659 raise ValidationError(errors)
Dcontrol_file.py171 raise model_logic.ValidationError(
Drpc_interface.py339 raise model_logic.ValidationError(
365 except model_logic.ValidationError as e:
435 except model_logic.ValidationError as e:
504 raise model_logic.ValidationError(
943 raise model_logic.ValidationError({
Dadmin.py143 raise forms.ValidationError(
/external/libxml2/
DgenChRanges.py122 raise ValidationError, "'ur' found outside of 'name' block"
135 raise ValidationError, 'Illegal value (%s) in ch for'\
159 raise ValidationError, "Invalid range '%s'" % el
168 raise ValidationError, msg
172 raise ValidationError, "range already defined in" \
/external/autotest/frontend/afe/json_rpc/
Dproxy.py58 class ValidationError(JSONRPCException): class
71 super(ValidationError, self).__init__(formatted_message)
/external/libchrome/mojo/public/cpp/bindings/tests/
Dserialization_warning_unittest.cc48 void TestWarning(T obj, mojo::internal::ValidationError expected_warning) { in TestWarning()
64 mojo::internal::ValidationError expected_warning, in TestArrayWarning()
79 mojo::internal::ValidationError expected_warning) { in TestUnionWarning()
/external/autotest/server/cros/dynamic_suite/
Dfrontend_wrappers.py114 proxy.ValidationError])
170 proxy.ValidationError])
Dsuite.py1011 except (error.NoEligibleHostException, proxy.ValidationError) as e:
1013 or (isinstance(e, proxy.ValidationError)
/external/autotest/frontend/afe/doctests/
D001_rpc_test.txt128 ValidationError: {'status': 'Host status can not be modified by the frontend.'}
140 ValidationError: {'locked': u'Host ipaj1000 already unlocked.'}
144 ... except model_logic.ValidationError, err:
/external/autotest/frontend/tko/
Drpc_interface.py418 raise model_logic.ValidationError('No such queries found for this user')

12