Home
last modified time | relevance | path

Searched refs:errorMessage (Results 1 – 25 of 125) sorted by relevance

12345

/external/smali/smali/src/main/java/org/jf/smali/
DSemanticException.java38 private String errorMessage; field in SemanticException
41 SemanticException(IntStream input, String errorMessage, Object... messageArguments) { in SemanticException() argument
43 this.errorMessage = String.format(errorMessage, messageArguments); in SemanticException()
48 this.errorMessage = ex.getMessage(); in SemanticException()
51 …SemanticException(IntStream input, CommonTree tree, String errorMessage, Object... messageArgument… in SemanticException() argument
58 this.errorMessage = String.format(errorMessage, messageArguments); in SemanticException()
61 … SemanticException(IntStream input, Token token, String errorMessage, Object... messageArguments) { in SemanticException() argument
68 this.errorMessage = String.format(errorMessage, messageArguments); in SemanticException()
72 return errorMessage; in getMessage()
/external/apache-http/android/src/android/net/http/
DHttpsConnection.java188 String errorMessage = e.getMessage(); in openConnection()
189 if (errorMessage == null) { in openConnection()
190 errorMessage = in openConnection()
194 throw new IOException(errorMessage); in openConnection()
227 String errorMessage = e.getMessage(); in openConnection()
228 if (errorMessage == null) { in openConnection()
229 errorMessage = in openConnection()
233 throw new IOException(errorMessage); in openConnection()
235 String errorMessage = e.getMessage(); in openConnection()
236 if (errorMessage == null) { in openConnection()
[all …]
DCertificateChainValidator.java265 SSLSocket socket, String errorMessage, String defaultErrorMessage) in closeSocketThrowException() argument
268 socket, errorMessage != null ? errorMessage : defaultErrorMessage); in closeSocketThrowException()
272 String errorMessage) throws IOException { in closeSocketThrowException() argument
274 HttpLog.v("validation error: " + errorMessage); in closeSocketThrowException()
286 throw new SSLHandshakeException(errorMessage); in closeSocketThrowException()
/external/icu/icu4c/source/samples/layout/
DUnicodeReader.cpp34 char errorMessage[128]; in readFile() local
41 sprintf(errorMessage,"Couldn't open %s: %s \n", fileName, strerror(errno)); in readFile()
42 guiSupport->postErrorMessage(errorMessage, "Text File Error"); in readFile()
74 …sprintf(errorMessage, "Couldn't detect the encoding of %s: (%2.2X, %2.2X, %2.2X, %2.2X)\n", fileNa… in readFile()
76 guiSupport->postErrorMessage(errorMessage, "Text File Error"); in readFile()
86 … sprintf(errorMessage,"Couldn't get memory for reading %s: %s \n", fileName, strerror(errno)); in readFile()
87 guiSupport->postErrorMessage(errorMessage, "Text File Error"); in readFile()
94 sprintf(errorMessage,"Couldn't read %s: %s \n", fileName, strerror(errno)); in readFile()
95 guiSupport->postErrorMessage(errorMessage, "Text File Error"); in readFile()
109 … sprintf(errorMessage,"Couldn't get memory for reading %s: %s \n", fileName, strerror(errno)); in readFile()
[all …]
DFontMap.cpp46 sprintf(errorMessage, "Could not open the font map file: %s.", fileName); in FontMap()
47 fGUISupport->postErrorMessage(errorMessage, "Font Map Error"); in FontMap()
77 sprintf(errorMessage, "The script name %s is invalid.", line); in FontMap()
78 fGUISupport->postErrorMessage(errorMessage, "Font Map Error"); in FontMap()
102 sprintf(errorMessage, "The font map file %s does not contain any valid scripts.", fileName); in FontMap()
103 fGUISupport->postErrorMessage(errorMessage, "Font Map Error"); in FontMap()
210 … sprintf(errorMessage, "No font was set for script %s", uscript_getName((UScriptCode) scriptCode)); in getScriptFont()
211 fGUISupport->postErrorMessage(errorMessage, "Font Map Error"); in getScriptFont()
220 sprintf(errorMessage, "Could not open font file %s", fFontNames[fontIndex]); in getScriptFont()
221 fGUISupport->postErrorMessage(errorMessage, "Font Map Error"); in getScriptFont()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenNumberFormatTestSuite.java201 String errorMessage = isPass(tuple); in run() local
202 if (errorMessage != null) { in run()
203 showError(errorMessage); in run()
308 String errorMessage = codeUnderTest.format(tuple); in isPass() local
309 if (errorMessage != null) { in isPass()
310 result.append(errorMessage); in isPass()
313 String errorMessage = codeUnderTest.toPattern(tuple); in isPass() local
314 if (errorMessage != null) { in isPass()
315 result.append(errorMessage); in isPass()
318 String errorMessage = codeUnderTest.parseCurrency(tuple); in isPass() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDataDrivenNumberFormatTestSuite.java205 String errorMessage = isPass(tuple); in run() local
206 if (errorMessage != null) { in run()
207 showError(errorMessage); in run()
312 String errorMessage = codeUnderTest.format(tuple); in isPass() local
313 if (errorMessage != null) { in isPass()
314 result.append(errorMessage); in isPass()
317 String errorMessage = codeUnderTest.toPattern(tuple); in isPass() local
318 if (errorMessage != null) { in isPass()
319 result.append(errorMessage); in isPass()
322 String errorMessage = codeUnderTest.parseCurrency(tuple); in isPass() local
[all …]
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DGraphValidationScopingTest.java64 String errorMessage = "test.MyComponent (unscoped) may not reference scoped bindings:\n" in componentWithoutScopeIncludesScopedBindings_Fail() local
70 .withErrorContaining(errorMessage); in componentWithoutScopeIncludesScopedBindings_Fail()
114 String errorMessage = "test.MyComponent scoped with @Singleton " in componentWithScopeIncludesIncompatiblyScopedBindings_Fail() local
121 .withErrorContaining(errorMessage); in componentWithScopeIncludesIncompatiblyScopedBindings_Fail()
184 String errorMessage = in componentWithScopeMayDependOnOnlyOneScopedComponent() local
193 .withErrorContaining(errorMessage); in componentWithScopeMayDependOnOnlyOneScopedComponent()
226 String errorMessage = in componentWithoutScopeCannotDependOnScopedComponent() local
233 .withErrorContaining(errorMessage); in componentWithoutScopeCannotDependOnScopedComponent()
273 String errorMessage = in componentWithSingletonScopeMayNotDependOnOtherScope() local
280 .withErrorContaining(errorMessage); in componentWithSingletonScopeMayNotDependOnOtherScope()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DSuspendTest.java174 String errorMessage = ""; in testSuspend001() local
176 errorMessage = "## Error found out while ThreadReference.Suspend command performing!\n"; in testSuspend001()
179errorMessage = errorMessage + "## Error found out while ThreadReference.Status command performing!… in testSuspend001()
182 errorMessage = errorMessage + "## Unexpected suspendStatus found out!\n"; in testSuspend001()
185 errorMessage = errorMessage + "## Error found out while resuming thread!\n"; in testSuspend001()
198 errorMessage = errorMessage + "## Some of tested threads are not found!\n"; in testSuspend001()
201 if ( ! errorMessage.equals("") ) { in testSuspend001()
202 printErrorAndFail("\ntestSuspend001 FAILED:\n" + errorMessage); in testSuspend001()
DThreadGroup002Test.java156 String errorMessage = ""; in testThreadGroup002() local
257 errorMessage = errorMessage + in testThreadGroup002()
262 errorMessage = errorMessage + in testThreadGroup002()
267 errorMessage = errorMessage + in testThreadGroup002()
272 errorMessage = errorMessage + in testThreadGroup002()
277 errorMessage = errorMessage + in testThreadGroup002()
284 if ( ! errorMessage.equals("") ) { in testThreadGroup002()
285 printErrorAndFail("\ntestThreadGroup002 FAILED:\n" + errorMessage); in testThreadGroup002()
DResumeTest.java133 String errorMessage = ""; in testResume001() local
268errorMessage = errorMessage + "## Error found out while ThreadReference.Status command performing!… in testResume001()
271 errorMessage = errorMessage + "## Unexpected suspendStatus found out!\n"; in testResume001()
274errorMessage = errorMessage + "## Error found out while ThreadReference.Resume command performing!… in testResume001()
276 if ( ! errorMessage.equals("") ) { in testResume001()
278 printErrorAndFail("\ntestResume001 FAILED:\n" + errorMessage); in testResume001()
422errorMessage = errorMessage + "## Error found out while ThreadReference.Suspend command performing… in testResume001()
425errorMessage = errorMessage + "## Error found out while ThreadReference.Resume command performing!… in testResume001()
428errorMessage = errorMessage + "## Error found out while ThreadReference.Status command performing!… in testResume001()
431 errorMessage = errorMessage + "## Unexpected suspendStatus found out!\n"; in testResume001()
[all …]
DSuspendCountTest.java261 String errorMessage = ""; in testSuspendCount001() local
263errorMessage = errorMessage + "## Error found out while ThreadReference.SuspendCount command perfo… in testSuspendCount001()
266errorMessage = errorMessage + "## Error found out while ThreadReference.Suspend command performing… in testSuspendCount001()
269errorMessage = errorMessage + "## Error found out while ThreadReference.Resume command performing!… in testSuspendCount001()
282 errorMessage = errorMessage + "## Some of tested threads are not found!\n"; in testSuspendCount001()
284 if ( ! errorMessage.equals("") ) { in testSuspendCount001()
286 printErrorAndFail("\ntestSuspendCount001 FAILED:\n" + errorMessage); in testSuspendCount001()
375errorMessage = "## Error found out while ThreadReference.SuspendCount command performing!\n"; in testSuspendCount001()
379 errorMessage = "## Error found out while VirtualMachine.Resume command performing!\n"; in testSuspendCount001()
382 if ( ! errorMessage.equals("") ) { in testSuspendCount001()
[all …]
/external/easymock/src/org/easymock/internal/
DMocksBehavior.java128 StringBuilder errorMessage = new StringBuilder(70 * (endPosition in addActual() local
130 errorMessage.append("\n Unexpected method call ").append( in addActual()
150 errorMessage in addActual()
153 errorMessage.append(":"); in addActual()
157 m.appendTo(errorMessage, matches); in addActual()
161 throw new AssertionErrorWrapper(new AssertionError(errorMessage)); in addActual()
177 StringBuilder errorMessage = new StringBuilder(70 * (behaviorLists in verify() local
181 errorMessage.append("\n Expectation failure on verify:"); in verify()
185 m.appendTo(errorMessage, 0); in verify()
189 throw new AssertionErrorWrapper(new AssertionError(errorMessage in verify()
/external/lzma/C/Util/SfxSetup/
DSfxSetup.c249 const char *errorMessage = NULL; in main() local
342 errorMessage = "Can't create temp folder"; in main()
347 if (!errorMessage) in main()
348 errorMessage = "Error"; in main()
349 PrintErrorMessage(errorMessage); in main()
355 errorMessage = "can not open input file"; in main()
366 errorMessage = "Can't find 7z archive"; in main()
455 errorMessage = "Duplicate file"; in main()
461 errorMessage = "Can't open output file"; in main()
470 errorMessage = "Can't write output file"; in main()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/
DJPDALogWriter.java41 protected String errorMessage; field in JPDALogWriter
111 if (null == errorMessage) { in printError()
112 errorMessage = message; in printError()
126 if (null == errorMessage) { in printError()
127 errorMessage = message; in printError()
172 return errorMessage; in getErrorMessage()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DIllegalIcuArgumentException.java18 public IllegalIcuArgumentException(String errorMessage) { in IllegalIcuArgumentException() argument
19 super(errorMessage); in IllegalIcuArgumentException()
26 public IllegalIcuArgumentException(String errorMessage, Throwable cause) { in IllegalIcuArgumentException() argument
27 super(errorMessage, cause); in IllegalIcuArgumentException()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DIllegalIcuArgumentException.java16 public IllegalIcuArgumentException(String errorMessage) { in IllegalIcuArgumentException() argument
17 super(errorMessage); in IllegalIcuArgumentException()
24 public IllegalIcuArgumentException(String errorMessage, Throwable cause) { in IllegalIcuArgumentException() argument
25 super(errorMessage, cause); in IllegalIcuArgumentException()
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DTemplateCompiler.java91 String errorMessage = "Could not compile template: " + templateName; in compile() local
92 Class<?> templateClass = compileAndLoad(javaSource, errorMessage); in compile()
119 private Class<?> compileAndLoad(CharSequence javaSource, String errorMessage) in compileAndLoad() argument
139 throwExceptionWithLotsOfDiagnosticInfo(javaSource, errorMessage, diagnosticCollector in compileAndLoad()
145 private void throwExceptionWithLotsOfDiagnosticInfo(CharSequence javaSource, String errorMessage, in throwExceptionWithLotsOfDiagnosticInfo() argument
149 StringBuilder message = new StringBuilder(errorMessage).append('\n'); in throwExceptionWithLotsOfDiagnosticInfo()
/external/guava/guava/src/com/google/common/base/
DPreconditions.java120 public static void checkArgument(boolean expression, @Nullable Object errorMessage) { in checkArgument() argument
122 throw new IllegalArgumentException(String.valueOf(errorMessage)); in checkArgument()
171 public static void checkState(boolean expression, @Nullable Object errorMessage) { in checkState() argument
173 throw new IllegalStateException(String.valueOf(errorMessage)); in checkState()
224 public static <T> T checkNotNull(T reference, @Nullable Object errorMessage) { in checkNotNull() argument
226 throw new NullPointerException(String.valueOf(errorMessage)); in checkNotNull()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractFutureTest.java112 final AtomicReference<String> errorMessage = new AtomicReference<String>(); in testCompletionFinishesWithDone() local
118 errorMessage.set("Set call exited before future was complete."); in testCompletionFinishesWithDone()
127 errorMessage.set("SetException call exited before future was complete."); in testCompletionFinishesWithDone()
136 errorMessage.set("Cancel call exited before future was complete."); in testCompletionFinishesWithDone()
145 String error = errorMessage.get(); in testCompletionFinishesWithDone()
/external/lzma/CPP/7zip/Bundles/SFXSetup/
DExtractEngine.cpp102 bool showProgress, bool &isCorrupt, UString &errorMessage) in ExtractArchive() argument
133 errorMessage = t.ErrorMessage; in ExtractArchive()
134 if (errorMessage.IsEmpty()) in ExtractArchive()
135 errorMessage = t.ExtractCallbackSpec->_message; in ExtractArchive()
DSfxSetup.cpp220 UString errorMessage; in WinMain() local
222 isCorrupt, errorMessage); in WinMain()
230 NWindows::MyLoadString(IDS_EXTRACTION_ERROR_MESSAGE, errorMessage); in WinMain()
235 if (errorMessage.IsEmpty()) in WinMain()
236 errorMessage = NError::MyFormatMessage(result); in WinMain()
237 … ::MessageBoxW(0, errorMessage, NWindows::MyLoadString(IDS_EXTRACTION_ERROR_TITLE), MB_ICONERROR); in WinMain()
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
DGithubFeedbackTask.java137 String errorMessage = body.get("error.message"); in generateGithubIssueBody() local
138 if (errorMessage == null || errorMessage.isEmpty()) { in generateGithubIssueBody()
139 errorMessage = "invalid error"; in generateGithubIssueBody()
161 result += "\n```\n" + errorMessage + "\n```"; in generateGithubIssueBody()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DResumeTest.java95 for (String errorMessage : errorMessages) { in testResume001()
96 logWriter.printError(errorMessage + "\n"); in testResume001()
159 for (String errorMessage : errorMessages) { in testResume002()
160 logWriter.printError(errorMessage + "\n"); in testResume002()
215 for (String errorMessage : errorMessages) { in testResume003()
216 logWriter.printError(errorMessage + "\n"); in testResume003()
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
Dtest_encoding.py11 from .support import get_data_files, TestData, test_dir, errorMessage
35 assert encoding == p.documentEncoding, errorMessage(data, encoding, p.documentEncoding)
46 assert encoding == stream.charEncoding[0], errorMessage(data, encoding, stream.charEncoding[0])

12345