/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/exc/ |
D | StackTraceElementTest.java | 9 public static class ErrorObject { class in StackTraceElementTest 17 ErrorObject() {} in ErrorObject() method in StackTraceElementTest.ErrorObject 19 public ErrorObject(Throwable throwable) { in ErrorObject() method in StackTraceElementTest.ErrorObject 34 .writeValueAsString(new ErrorObject(new Exception("exception message"))); in testCustomStackTraceDeser() 36 ErrorObject result = mapper.readValue(json, ErrorObject.class); in testCustomStackTraceDeser()
|
/external/python/cpython2/Mac/Modules/ |
D | Nav.c | 38 static PyObject *ErrorObject; variable 145 PyErr_SetString(ErrorObject, "DialogOption has non-string key"); in filldialogoptions() 208 PyErr_Format(ErrorObject, "Unknown DialogOption key: %s", keystr); in filldialogoptions() 244 PyErr_Mac(ErrorObject, err); in nav_NavTranslateFile() 265 PyErr_Mac(ErrorObject, err); in nav_NavCompleteSave() 336 PyErr_Mac(ErrorObject, err); in navrr_getattr() 345 PyErr_Mac(ErrorObject, err); in navrr_getattr() 350 PyErr_Mac(ErrorObject, err); in navrr_getattr() 367 PyErr_Mac(ErrorObject, err); in navrr_getattr() 376 PyErr_Mac(ErrorObject, err); in navrr_getattr() [all …]
|
D | icgluemodule.c | 39 static PyObject *ErrorObject; variable 467 ErrorObject = PyMac_GetOSErrException(); in initicglue() 468 if (ErrorObject == NULL || in initicglue() 469 PyDict_SetItemString(d, "error", ErrorObject) != 0) in initicglue()
|
/external/python/cpython2/Modules/ |
D | xxmodule.c | 19 static PyObject *ErrorObject; variable 362 if (ErrorObject == NULL) { in initxx() 363 ErrorObject = PyErr_NewException("xx.error", NULL, NULL); in initxx() 364 if (ErrorObject == NULL) in initxx() 367 Py_INCREF(ErrorObject); in initxx() 368 PyModule_AddObject(m, "error", ErrorObject); in initxx()
|
D | almodule.c | 15 static PyObject *ErrorObject; variable 53 PyErr_SetString(ErrorObject, buf); in ErrorHandler() 89 PyErr_SetString(ErrorObject, "unknown element type"); in param2python() 128 PyErr_SetString(ErrorObject, "unknown element type"); in python2elem() 149 PyErr_SetString(ErrorObject, "unknown element type"); in python2param() 200 PyErr_SetString(ErrorObject, "unknown element type"); in python2param() 728 PyErr_SetString(ErrorObject, "negative framecount"); in alp_ReadFrames() 745 PyErr_SetString(ErrorObject, "can't determine width"); in alp_ReadFrames() 757 PyErr_SetString(ErrorObject, "can't determine format"); in alp_ReadFrames() 764 PyErr_SetString(ErrorObject, "can't determine # of channels"); in alp_ReadFrames() [all …]
|
D | pyexpat.c | 60 static PyObject *ErrorObject; variable 133 err = PyObject_CallFunction(ErrorObject, "s", buffer); in set_error() 138 PyErr_SetObject(ErrorObject, err); in set_error() 1861 if (ErrorObject == NULL) { in MODULE_INITFUNC() 1862 ErrorObject = PyErr_NewException("xml.parsers.expat.ExpatError", in MODULE_INITFUNC() 1864 if (ErrorObject == NULL) in MODULE_INITFUNC() 1867 Py_INCREF(ErrorObject); in MODULE_INITFUNC() 1868 PyModule_AddObject(m, "error", ErrorObject); in MODULE_INITFUNC() 1869 Py_INCREF(ErrorObject); in MODULE_INITFUNC() 1870 PyModule_AddObject(m, "ExpatError", ErrorObject); in MODULE_INITFUNC()
|
/external/python/cpython3/Modules/ |
D | xxlimited.c | 19 static PyObject *ErrorObject; variable 253 if (ErrorObject == NULL) { in xx_modexec() 254 ErrorObject = PyErr_NewException("xxlimited.error", NULL, NULL); in xx_modexec() 255 if (ErrorObject == NULL) in xx_modexec() 258 Py_INCREF(ErrorObject); in xx_modexec() 259 PyModule_AddObject(m, "error", ErrorObject); in xx_modexec()
|
D | xxmodule.c | 19 static PyObject *ErrorObject; variable 365 if (ErrorObject == NULL) { in xx_exec() 366 ErrorObject = PyErr_NewException("xx.error", NULL, NULL); in xx_exec() 367 if (ErrorObject == NULL) in xx_exec() 370 Py_INCREF(ErrorObject); in xx_exec() 371 PyModule_AddObject(m, "error", ErrorObject); in xx_exec()
|
D | pyexpat.c | 50 static PyObject *ErrorObject; variable 122 err = PyObject_CallOneArg(ErrorObject, buffer); in set_error() 128 PyErr_SetObject(ErrorObject, err); in set_error() 1664 if (ErrorObject == NULL) { in MODULE_INITFUNC() 1665 ErrorObject = PyErr_NewException("xml.parsers.expat.ExpatError", in MODULE_INITFUNC() 1667 if (ErrorObject == NULL) in MODULE_INITFUNC() 1670 Py_INCREF(ErrorObject); in MODULE_INITFUNC() 1671 PyModule_AddObject(m, "error", ErrorObject); in MODULE_INITFUNC() 1672 Py_INCREF(ErrorObject); in MODULE_INITFUNC() 1673 PyModule_AddObject(m, "ExpatError", ErrorObject); in MODULE_INITFUNC()
|
/external/python/cpython2/Mac/Modules/snd/ |
D | _Sndihooks.c | 49 static PyObject *ErrorObject; variable 503 ErrorObject = PyString_FromString("Sndihooks.error"); in init_Sndihooks() 504 PyDict_SetItemString(d, "error", ErrorObject); in init_Sndihooks()
|