Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 25 of 2423) sorted by relevance

12345678910>>...97

/third_party/selinux/libselinux/src/
Dselinuxswig_python_exception.i2 %exception is_selinux_enabled {
10 %exception is_selinux_mls_enabled {
18 %exception getcon {
26 %exception getcon_raw {
34 %exception setcon {
42 %exception setcon_raw {
50 %exception getpidcon {
58 %exception getpidcon_raw {
66 %exception getprevcon {
74 %exception getprevcon_raw {
[all …]
/third_party/json/docs/mkdocs/docs/home/
Dexceptions.md7 All exceptions inherit from class `json::exception` (which in turn inherits from `std::exception`).…
10 std::exception <|-- json::exception
11 json::exception <|-- json::parse_error
12 json::exception <|-- json::invalid_iterator
13 json::exception <|-- json::type_error
14 json::exception <|-- json::out_of_range
15 json::exception <|-- json::other_error
17 interface std::exception {}
19 class json::exception {
43 #define JSON_CATCH_USER(exception) if(false)
[all …]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DCheckUtf8Test.java68 } catch (IllegalArgumentException exception) { in testBuildRequiredStringWithBadUtf8()
69 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildRequiredStringWithBadUtf8()
77 } catch (IllegalArgumentException exception) { in testBuildOptionalStringWithBadUtf8()
78 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildOptionalStringWithBadUtf8()
86 } catch (IllegalArgumentException exception) { in testBuildRepeatedStringWithBadUtf8()
87 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildRepeatedStringWithBadUtf8()
101 } catch (IllegalArgumentException exception) { in testBuildRequiredStringWithBadUtf8Size()
102 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildRequiredStringWithBadUtf8Size()
110 } catch (IllegalArgumentException exception) { in testBuildOptionalStringWithBadUtf8Size()
111 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildOptionalStringWithBadUtf8Size()
[all …]
/third_party/json/include/nlohmann/detail/
Dexceptions.hpp36 class exception : public std::exception class
50exception(int id_, const char* what_arg) : id(id_), m(what_arg) {} // NOLINT(bugprone-throw-keywor… in exception() function in detail::exception
134 class parse_error : public exception
149 std::string w = concat(exception::name("parse_error", id_), "parse error", in create()
150 … position_string(pos), ": ", exception::diagnostics(context), what_arg); in create()
157 std::string w = concat(exception::name("parse_error", id_), "parse error", in create()
159 ": ", exception::diagnostics(context), what_arg); in create()
176 : exception(id_, what_arg), byte(byte_) {} in parse_error()
187 class invalid_iterator : public exception
193 …std::string w = concat(exception::name("invalid_iterator", id_), exception::diagnostics(context), … in create()
[all …]
/third_party/node/test/parallel/
Dtest-uv-unmapped-exception.js8 const exception = uvException({ errno: 100, syscall: 'open' }); constant
10 assert.strictEqual(exception.message, 'UNKNOWN: unknown error, open');
11 assert.strictEqual(exception.errno, 100);
12 assert.strictEqual(exception.syscall, 'open');
13 assert.strictEqual(exception.code, 'UNKNOWN');
17 const exception = uvExceptionWithHostPort(100, 'listen', '127.0.0.1', 80); constant
19 assert.strictEqual(exception.message,
21 assert.strictEqual(exception.code, 'UNKNOWN');
22 assert.strictEqual(exception.errno, 100);
23 assert.strictEqual(exception.syscall, 'listen');
[all …]
/third_party/json/docs/mkdocs/docs/api/basic_json/
Dexception.md1 # <small>nlohmann::basic_json::</small>exception
4 class exception : public std::exception;
7 This class is an extension of [`std::exception`](https://en.cppreference.com/w/cpp/error/exception)…
8 member `id` for exception ids. It is used as the base class for all exceptions thrown by the `basic…
12 std::exception <|-- basic_json::exception
13 basic_json::exception <|-- basic_json::parse_error
14 basic_json::exception <|-- basic_json::invalid_iterator
15 basic_json::exception <|-- basic_json::type_error
16 basic_json::exception <|-- basic_json::out_of_range
17 basic_json::exception <|-- basic_json::other_error
[all …]
Dother_error.md4 class other_error : public exception;
7 This exception is thrown in case of errors that cannot be classified with the other exception types.
12 std::exception <|-- basic_json::exception
13 basic_json::exception <|-- basic_json::parse_error
14 basic_json::exception <|-- basic_json::invalid_iterator
15 basic_json::exception <|-- basic_json::type_error
16 basic_json::exception <|-- basic_json::out_of_range
17 basic_json::exception <|-- basic_json::other_error
19 interface std::exception {}
21 class basic_json::exception {
[all …]
Dtype_error.md4 class type_error : public exception;
7 This exception is thrown in case of a type error; that is, a library function is executed on a JSON…
13 std::exception <|-- basic_json::exception
14 basic_json::exception <|-- basic_json::parse_error
15 basic_json::exception <|-- basic_json::invalid_iterator
16 basic_json::exception <|-- basic_json::type_error
17 basic_json::exception <|-- basic_json::out_of_range
18 basic_json::exception <|-- basic_json::other_error
20 interface std::exception {}
22 class basic_json::exception {
[all …]
Dinvalid_iterator.md4 class invalid_iterator : public exception;
7 This exception is thrown if iterators passed to a library function do not match the expected semant…
12 std::exception <|-- basic_json::exception
13 basic_json::exception <|-- basic_json::parse_error
14 basic_json::exception <|-- basic_json::invalid_iterator
15 basic_json::exception <|-- basic_json::type_error
16 basic_json::exception <|-- basic_json::out_of_range
17 basic_json::exception <|-- basic_json::other_error
19 interface std::exception {}
21 class basic_json::exception {
[all …]
Dout_of_range.md4 class out_of_range : public exception;
7 This exception is thrown in case a library function is called on an input parameter that exceeds th…
13 std::exception <|-- basic_json::exception
14 basic_json::exception <|-- basic_json::parse_error
15 basic_json::exception <|-- basic_json::invalid_iterator
16 basic_json::exception <|-- basic_json::type_error
17 basic_json::exception <|-- basic_json::out_of_range
18 basic_json::exception <|-- basic_json::other_error
20 interface std::exception {}
22 class basic_json::exception {
[all …]
Dparse_error.md4 class parse_error : public exception;
7 This exception is thrown by the library when a parse error occurs. Parse errors can occur during th…
15 std::exception <|-- basic_json::exception
16 basic_json::exception <|-- basic_json::parse_error
17 basic_json::exception <|-- basic_json::invalid_iterator
18 basic_json::exception <|-- basic_json::type_error
19 basic_json::exception <|-- basic_json::out_of_range
20 basic_json::exception <|-- basic_json::other_error
22 interface std::exception {}
24 class basic_json::exception {
[all …]
/third_party/cef/libcef_dll/cpptoc/
Dv8interceptor_cpptoc.cc26 cef_string_t* exception) { in v8interceptor_get_byname() argument
45 DCHECK(exception); in v8interceptor_get_byname()
46 if (!exception) in v8interceptor_get_byname()
55 CefString exceptionStr(exception); in v8interceptor_get_byname()
80 cef_string_t* exception) { in v8interceptor_get_byindex() argument
99 DCHECK(exception); in v8interceptor_get_byindex()
100 if (!exception) in v8interceptor_get_byindex()
109 CefString exceptionStr(exception); in v8interceptor_get_byindex()
134 cef_string_t* exception) { in v8interceptor_set_byname() argument
153 DCHECK(exception); in v8interceptor_set_byname()
[all …]
Dv8accessor_cpptoc.cc26 cef_string_t* exception) { in v8accessor_get() argument
45 DCHECK(exception); in v8accessor_get()
46 if (!exception) in v8accessor_get()
55 CefString exceptionStr(exception); in v8accessor_get()
80 cef_string_t* exception) { in v8accessor_set() argument
99 DCHECK(exception); in v8accessor_set()
100 if (!exception) in v8accessor_set()
104 CefString exceptionStr(exception); in v8accessor_set()
/third_party/python/Doc/library/
Dexceptions.rst12 clause that mentions a particular class, that clause also handles any exception
13 classes derived from that class (but not exception classes from which *it* is
14 derived). Two exception classes that are not related via subclassing are never
23 code). The associated value is usually passed as arguments to the exception
26 User code can raise built-in exceptions. This can be used to test an exception
28 interpreter raises the same exception; but beware that there is nothing to
31 The built-in exception classes can be subclassed to define new exceptions;
41 When raising (or re-raising) an exception in an :keyword:`except` or
43 :attr:`__context__` is automatically set to the last exception caught; if the
44 new exception is not handled the traceback that is eventually displayed will
[all …]
Dasyncio-exceptions.rst14 .. exception:: TimeoutError
19 This exception is different from the builtin :exc:`TimeoutError`
20 exception.
23 .. exception:: CancelledError
27 This exception can be caught to perform custom operations
29 exception must be re-raised.
36 .. exception:: InvalidStateError
44 .. exception:: SendfileNotAvailableError
52 .. exception:: IncompleteReadError
58 This exception is a subclass of :exc:`EOFError`.
[all …]
/third_party/python/Lib/test/
Dtest_flufl.py15 self.assertRegex(str(cm.exception),
17 self.assertIn('2 != 3', cm.exception.text)
18 self.assertEqual(cm.exception.filename, '<FLUFL test>')
20 self.assertTrue(cm.exception.lineno, 2)
23 self.assertEqual(cm.exception.offset, 3)
30 self.assertRegex(str(cm.exception), "invalid syntax")
31 self.assertIn('2 <> 3', cm.exception.text)
32 self.assertEqual(cm.exception.filename, '<FLUFL test>')
33 self.assertEqual(cm.exception.lineno, 1)
36 self.assertEqual(cm.exception.offset, 3)
/third_party/node/deps/v8/src/trap-handler/
Dhandler-inside-win.cc62 bool TryHandleWasmTrap(EXCEPTION_POINTERS* exception) { in TryHandleWasmTrap() argument
73 if (exception->ExceptionRecord->ExceptionCode != EXCEPTION_ACCESS_VIOLATION) { in TryHandleWasmTrap()
96 const EXCEPTION_RECORD* record = exception->ExceptionRecord; in TryHandleWasmTrap()
106 uintptr_t simulated_ip = exception->ContextRecord->Rdx; in TryHandleWasmTrap()
110 exception->ContextRecord->Rax = landing_pad; in TryHandleWasmTrap()
112 exception->ContextRecord->Rip = in TryHandleWasmTrap()
118 exception->ContextRecord->Rip = landing_pad; in TryHandleWasmTrap()
125 LONG HandleWasmTrap(EXCEPTION_POINTERS* exception) { in HandleWasmTrap() argument
126 if (TryHandleWasmTrap(exception)) { in HandleWasmTrap()
/third_party/json/docs/mkdocs/docs/api/macros/
Djson_throw_user.md5 #define JSON_CATCH_USER(exception) /* value */
7 #define JSON_THROW_USER(exception) /* value */
15 …The argument is the type of the exception to catch. As of version 3.8.0, the library only catches …
18 2. This macro overrides `#!cpp throw` calls inside the library. The argument is the exception to be…
25 `exception` (in)
26 : an exception type
33 #define JSON_CATCH_USER(exception) catch(exception)
34 #define JSON_THROW_USER(exception) throw exception
43 #define JSON_THROW_USER(exception) std::abort()
45 #define JSON_CATCH_USER(exception) if (false)
[all …]
/third_party/cef/tests/ceftests/
Dv8_unittest.cc612 CefRefPtr<CefV8Exception> exception; in RunArrayBufferValueTest() local
613 EXPECT_TRUE(context->Eval(test, CefString(), 0, retval, exception)); in RunArrayBufferValueTest()
614 if (exception.get()) in RunArrayBufferValueTest()
615 ADD_FAILURE() << exception->GetMessage().c_str(); in RunArrayBufferValueTest()
696 CefString& exception) override { in RunObjectAccessorTest() argument
703 EXPECT_TRUE(exception.empty()); in RunObjectAccessorTest()
714 CefString& exception) override { in RunObjectAccessorTest() argument
721 EXPECT_TRUE(exception.empty()); in RunObjectAccessorTest()
790 CefString& exception) override { in RunObjectAccessorExceptionTest() argument
792 exception = kGetException; in RunObjectAccessorExceptionTest()
[all …]
/third_party/python/Doc/tutorial/
Derrors.rst61 The string printed as the exception type is the name of the built-in exception
64 exception names are built-in identifiers (not reserved keywords).
66 The rest of the line provides detail based on the type of exception and what
69 The preceding part of the error message shows the context where the exception
86 is signalled by raising the :exc:`KeyboardInterrupt` exception. ::
101 * If no exception occurs, the *except clause* is skipped and execution of the
104 * If an exception occurs during execution of the :keyword:`try` clause, the rest of the
105 clause is skipped. Then, if its type matches the exception named after the
109 * If an exception occurs which does not match the exception named in the *except
111 found, it is an *unhandled exception* and execution stops with a message as
[all …]
/third_party/json/tests/src/
Dunit-json_pointer.cpp278 …"[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'", json::pa…
280 …"[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'", json::pa…
282 …"[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'", json::pa…
284 …"[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'", json::pa…
293 …"[json.exception.parse_error.109] parse error: array index 'one' is not a number", json::parse_err…
295 …"[json.exception.parse_error.109] parse error: array index 'one' is not a number", json::parse_err…
298 …"[json.exception.parse_error.109] parse error: array index 'one' is not a number", json::parse_err…
300 …"[json.exception.parse_error.109] parse error: array index 'one' is not a number", json::parse_err…
303 …"[json.exception.parse_error.109] parse error: array index '+1' is not a number", json::parse_erro…
305 …"[json.exception.parse_error.109] parse error: array index '+1' is not a number", json::parse_erro…
[all …]
/third_party/node/deps/undici/src/lib/fetch/
Dwebidl.js12 webidl.errors.exception = function (message) { function
22 return webidl.errors.exception({
29 return webidl.errors.exception({
46 throw webidl.errors.exception({
55 throw webidl.errors.exception({
133 throw webidl.errors.exception({
145 throw webidl.errors.exception({
220 throw webidl.errors.exception({
236 throw webidl.errors.exception({
262 throw webidl.errors.exception({
[all …]
/third_party/python/Lib/asyncio/
Dfutures.py204 def exception(self): member in Future
263 def set_exception(self, exception): argument
271 if isinstance(exception, type):
272 exception = exception()
273 if type(exception) is StopIteration:
276 self._exception = exception
334 exception = source.exception()
335 if exception is not None:
336 concurrent.set_exception(_convert_future_exc(exception))
354 exception = source.exception()
[all …]
/third_party/vixl/src/
Dutils-vixl.cc268 float FPToFloat(Float16 value, UseDefaultNaN DN, bool* exception) { in FPToFloat() argument
301 if (exception != NULL) { in FPToFloat()
302 *exception = true; in FPToFloat()
338 bool* exception) { in FPToFloat() argument
346 if (exception != NULL) { in FPToFloat()
347 *exception = true; in FPToFloat()
399 double FPToDouble(Float16 value, UseDefaultNaN DN, bool* exception) { in FPToDouble() argument
401 return FPToFloat(value, DN, exception); in FPToDouble()
405 double FPToDouble(float value, UseDefaultNaN DN, bool* exception) { in FPToDouble() argument
409 if (exception != NULL) { in FPToDouble()
[all …]
/third_party/json/docs/examples/
Dat__json_pointer.output7 [json.exception.parse_error.106] parse error: array index '01' must not begin with '0'
8 [json.exception.parse_error.109] parse error: array index 'one' is not a number
9 [json.exception.out_of_range.401] array index 4 is out of range
10 [json.exception.out_of_range.402] array index '-' (2) is out of range
11 [json.exception.out_of_range.403] key 'foo' not found
12 [json.exception.out_of_range.404] unresolved reference token 'foo'

12345678910>>...97