Home
last modified time | relevance | path

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

/external/libmojo/mojo/public/cpp/bindings/lib/
Dvalidation_errors.h16 enum ValidationError { enum
72 const char* ValidationErrorToString(ValidationError error);
75 ValidationError error,
85 ValidationError last_error() const { return last_error_; } in last_error()
86 void set_last_error(ValidationError error) { in set_last_error()
92 ValidationError last_error_;
102 bool ReportSerializationWarning(ValidationError error);
111 ValidationError last_warning() const { return last_warning_; } in last_warning()
112 void set_last_warning(ValidationError error) { last_warning_ = error; } in set_last_warning()
115 ValidationError last_warning_;
Dvalidation_errors.cc20 const char* ValidationErrorToString(ValidationError error) { in ValidationErrorToString()
64 ValidationError error, in ReportValidationError()
103 bool ReportSerializationWarning(ValidationError error) { in ReportSerializationWarning()
Darray_internal.h157 static const ValidationError kError =
Darray_serialization.h311 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/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/
Drpc_utils.py288 raise model_logic.ValidationError(
327 raise model_logic.ValidationError(
369 raise model_logic.ValidationError(
387 raise model_logic.ValidationError({
403 raise model_logic.ValidationError({
407 raise model_logic.ValidationError({
410 raise model_logic.ValidationError({
482 raise model_logic.ValidationError(
493 raise model_logic.ValidationError(
771 raise model_logic.ValidationError({
[all …]
Drdb_model_extensions.py117 raise django_exceptions.ValidationError(errors)
162 raise django_exceptions.ValidationError('%s required to create %s, '
Dmodel_logic.py18 class ValidationError(django.core.exceptions.ValidationError): class
636 except django.core.exceptions.ValidationError, e:
655 raise ValidationError(errors)
Drpc_interface_unittest.py49 self.assertRaises(model_logic.ValidationError, rpc_interface.add_label,
52 self.assertRaises(model_logic.ValidationError, rpc_interface.add_host,
58 self.assertRaises(model_logic.ValidationError,
61 self.assertRaises(model_logic.ValidationError,
226 self.assertRaises(model_logic.ValidationError, self._create_job_helper,
1216 self.assertRaises(model_logic.ValidationError,
Dcontrol_file.py171 raise model_logic.ValidationError(
Drpc_interface.py274 raise model_logic.ValidationError(
300 except model_logic.ValidationError as e:
362 except model_logic.ValidationError as e:
425 raise model_logic.ValidationError(
781 raise model_logic.ValidationError({
Dadmin.py143 raise forms.ValidationError(
Dmodels.py492 raise model_logic.ValidationError({
676 raise model_logic.ValidationError({'labels': '; '.join(errors)})
702 raise model_logic.ValidationError({'labels': '; '.join(errors)})
Dmodels_test.py77 self.assertRaises(model_logic.ValidationError,
/external/autotest/frontend/afe/json_rpc/
Dproxy.py54 class ValidationError(JSONRPCException): class
67 super(ValidationError, self).__init__(formatted_message)
/external/autotest/server/cros/dynamic_suite/
Dfrontend_wrappers.py101 proxy.ValidationError])
136 proxy.ValidationError])
Dsuite.py882 except (error.NoEligibleHostException, proxy.ValidationError) as e:
884 or (isinstance(e, proxy.ValidationError)
/external/libmojo/mojo/public/cpp/bindings/tests/
Dserialization_warning_unittest.cc49 void TestWarning(T obj, mojo::internal::ValidationError expected_warning) { in TestWarning()
63 mojo::internal::ValidationError expected_warning, in TestArrayWarning()
78 mojo::internal::ValidationError expected_warning) { in TestUnionWarning()
/external/autotest/frontend/tko/
Dgraphing_utils.py31 from autotest_lib.frontend.afe.model_logic import ValidationError
133 raise ValidationError({'plot' : 'Plot must be either Line or Bar'})
595 raise ValidationError({
606 raise ValidationError({
Drpc_interface.py433 raise model_logic.ValidationError('No such queries found for this user')
/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: