Home
last modified time | relevance | path

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

1234

/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.java189 String errorMessage = e.getMessage(); in openConnection()
190 if (errorMessage == null) { in openConnection()
191 errorMessage = in openConnection()
195 throw new IOException(errorMessage); in openConnection()
228 String errorMessage = e.getMessage(); in openConnection()
229 if (errorMessage == null) { in openConnection()
230 errorMessage = in openConnection()
234 throw new IOException(errorMessage); in openConnection()
236 String errorMessage = e.getMessage(); in openConnection()
237 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.cpp38 char errorMessage[128]; in readFile() local
45 sprintf(errorMessage,"Couldn't open %s: %s \n", fileName, strerror(errno)); in readFile()
46 guiSupport->postErrorMessage(errorMessage, "Text File Error"); in readFile()
78 …sprintf(errorMessage, "Couldn't detect the encoding of %s: (%2.2X, %2.2X, %2.2X, %2.2X)\n", fileNa… in readFile()
80 guiSupport->postErrorMessage(errorMessage, "Text File Error"); in readFile()
90 … sprintf(errorMessage,"Couldn't get memory for reading %s: %s \n", fileName, strerror(errno)); in readFile()
91 guiSupport->postErrorMessage(errorMessage, "Text File Error"); in readFile()
98 sprintf(errorMessage,"Couldn't read %s: %s \n", fileName, strerror(errno)); in readFile()
99 guiSupport->postErrorMessage(errorMessage, "Text File Error"); in readFile()
113 … sprintf(errorMessage,"Couldn't get memory for reading %s: %s \n", fileName, strerror(errno)); in readFile()
[all …]
DFontMap.cpp50 sprintf(errorMessage, "Could not open the font map file: %s.", fileName); in FontMap()
51 fGUISupport->postErrorMessage(errorMessage, "Font Map Error"); in FontMap()
81 sprintf(errorMessage, "The script name %s is invalid.", line); in FontMap()
82 fGUISupport->postErrorMessage(errorMessage, "Font Map Error"); in FontMap()
106 sprintf(errorMessage, "The font map file %s does not contain any valid scripts.", fileName); in FontMap()
107 fGUISupport->postErrorMessage(errorMessage, "Font Map Error"); in FontMap()
214 … sprintf(errorMessage, "No font was set for script %s", uscript_getName((UScriptCode) scriptCode)); in getScriptFont()
215 fGUISupport->postErrorMessage(errorMessage, "Font Map Error"); in getScriptFont()
224 sprintf(errorMessage, "Could not open font file %s", fFontNames[fontIndex]); in getScriptFont()
225 fGUISupport->postErrorMessage(errorMessage, "Font Map Error"); in getScriptFont()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDataDrivenNumberFormatTestUtility.java202 String errorMessage = isPass(tuple); in run() local
203 if (errorMessage != null) { in run()
204 showError(errorMessage); in run()
309 String errorMessage = codeUnderTest.format(tuple); in isPass() local
310 if (errorMessage != null) { in isPass()
311 result.append(errorMessage); in isPass()
314 String errorMessage = codeUnderTest.toPattern(tuple); in isPass() local
315 if (errorMessage != null) { in isPass()
316 result.append(errorMessage); in isPass()
319 String errorMessage = codeUnderTest.parseCurrency(tuple); in isPass() local
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenNumberFormatTestUtility.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/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.java175 String errorMessage = ""; in testSuspend001() local
177 errorMessage = "## Error found out while ThreadReference.Suspend command performing!\n"; in testSuspend001()
180errorMessage = errorMessage + "## Error found out while ThreadReference.Status command performing!… in testSuspend001()
183 errorMessage = errorMessage + "## Unexpected suspendStatus found out!\n"; in testSuspend001()
186 errorMessage = errorMessage + "## Error found out while resuming thread!\n"; in testSuspend001()
199 errorMessage = errorMessage + "## Some of tested threads are not found!\n"; in testSuspend001()
202 if ( ! errorMessage.equals("") ) { in testSuspend001()
203 printErrorAndFail("\ntestSuspend001 FAILED:\n" + errorMessage); in testSuspend001()
DThreadGroup002Test.java157 String errorMessage = ""; in testThreadGroup002() local
258 errorMessage = errorMessage + in testThreadGroup002()
263 errorMessage = errorMessage + in testThreadGroup002()
268 errorMessage = errorMessage + in testThreadGroup002()
273 errorMessage = errorMessage + in testThreadGroup002()
278 errorMessage = errorMessage + in testThreadGroup002()
285 if ( ! errorMessage.equals("") ) { in testThreadGroup002()
286 printErrorAndFail("\ntestThreadGroup002 FAILED:\n" + errorMessage); in testThreadGroup002()
DResumeTest.java134 String errorMessage = ""; in testResume001() local
269errorMessage = errorMessage + "## Error found out while ThreadReference.Status command performing!… in testResume001()
272 errorMessage = errorMessage + "## Unexpected suspendStatus found out!\n"; in testResume001()
275errorMessage = errorMessage + "## Error found out while ThreadReference.Resume command performing!… in testResume001()
277 if ( ! errorMessage.equals("") ) { in testResume001()
279 printErrorAndFail("\ntestResume001 FAILED:\n" + errorMessage); in testResume001()
423errorMessage = errorMessage + "## Error found out while ThreadReference.Suspend command performing… in testResume001()
426errorMessage = errorMessage + "## Error found out while ThreadReference.Resume command performing!… in testResume001()
429errorMessage = errorMessage + "## Error found out while ThreadReference.Status command performing!… in testResume001()
432 errorMessage = errorMessage + "## Unexpected suspendStatus found out!\n"; in testResume001()
[all …]
DSuspendCountTest.java262 String errorMessage = ""; in testSuspendCount001() local
264errorMessage = errorMessage + "## Error found out while ThreadReference.SuspendCount command perfo… in testSuspendCount001()
267errorMessage = errorMessage + "## Error found out while ThreadReference.Suspend command performing… in testSuspendCount001()
270errorMessage = errorMessage + "## Error found out while ThreadReference.Resume command performing!… in testSuspendCount001()
283 errorMessage = errorMessage + "## Some of tested threads are not found!\n"; in testSuspendCount001()
285 if ( ! errorMessage.equals("") ) { in testSuspendCount001()
287 printErrorAndFail("\ntestSuspendCount001 FAILED:\n" + errorMessage); in testSuspendCount001()
376errorMessage = "## Error found out while ThreadReference.SuspendCount command performing!\n"; in testSuspendCount001()
380 errorMessage = "## Error found out while VirtualMachine.Resume command performing!\n"; in testSuspendCount001()
383 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.c254 const char *errorMessage = NULL; in main() local
350 errorMessage = "Can't create temp folder"; in main()
355 if (!errorMessage) in main()
356 errorMessage = "Error"; in main()
357 PrintErrorMessage(errorMessage); in main()
363 errorMessage = "can not open input file"; in main()
374 errorMessage = "Can't find 7z archive"; in main()
461 errorMessage = "Duplicate file"; in main()
467 errorMessage = "Can't open output file"; in main()
476 errorMessage = "Can't write output file"; in main()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DIllegalIcuArgumentException.java20 public IllegalIcuArgumentException(String errorMessage) { in IllegalIcuArgumentException() argument
21 super(errorMessage); in IllegalIcuArgumentException()
28 public IllegalIcuArgumentException(String errorMessage, Throwable cause) { in IllegalIcuArgumentException() argument
29 super(errorMessage, cause); in IllegalIcuArgumentException()
/external/icu/icu4j/main/classes/core/src/com/ibm/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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/
DJPDALogWriter.java41 protected String errorMessage; field in JPDALogWriter
113 if (null == errorMessage) { in printError()
114 errorMessage = message; in printError()
129 if (null == errorMessage) { in printError()
130 errorMessage = message; in printError()
178 return errorMessage; in getErrorMessage()
/external/libmojo/base/android/java/src/org/chromium/base/library_loader/
DModernLinker.java379 String errorMessage = "Load address outside reservation, for: " + libFilePath; in loadLibraryImpl() local
380 Log.e(TAG, errorMessage); in loadLibraryImpl()
381 throw new UnsatisfiedLinkError(errorMessage); in loadLibraryImpl()
396 String errorMessage = "Unable to create shared relro: " + relroPath; in loadLibraryImpl() local
397 Log.w(TAG, errorMessage); in loadLibraryImpl()
413 String errorMessage = "Unable to load library: " + dlopenExtPath; in loadLibraryImpl() local
414 Log.e(TAG, errorMessage); in loadLibraryImpl()
415 throw new UnsatisfiedLinkError(errorMessage); in loadLibraryImpl()
DLegacyLinker.java486 String errorMessage = in loadLibraryImpl() local
488 Log.e(TAG, errorMessage); in loadLibraryImpl()
489 throw new UnsatisfiedLinkError(errorMessage); in loadLibraryImpl()
497 String errorMessage = "Unable to load library: " + libFilePath in loadLibraryImpl() local
499 Log.e(TAG, errorMessage); in loadLibraryImpl()
500 throw new UnsatisfiedLinkError(errorMessage); in loadLibraryImpl()
505 String errorMessage = "Unable to load library: " + libFilePath; in loadLibraryImpl() local
506 Log.e(TAG, errorMessage); in loadLibraryImpl()
507 throw new UnsatisfiedLinkError(errorMessage); in loadLibraryImpl()
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
DValidationTestUtil.java41 private Data(ByteBuffer data, int handlesCount, String errorMessage) { in Data() argument
44 this.mErrorMessage = errorMessage; in Data()
58 private static Data buildData(ByteBuffer data, int handlesCount, String errorMessage) { in buildData() argument
66 return new Data(copiedData, handlesCount, errorMessage); in buildData()
/external/conscrypt/common/src/main/java/org/conscrypt/
DPreconditions.java34 static <T> T checkNotNull(T reference, String errorMessage) { in checkNotNull() argument
36 throw new NullPointerException(errorMessage); in checkNotNull()
48 static void checkArgument(boolean condition, String errorMessage) { in checkArgument() argument
50 throw new IllegalArgumentException(errorMessage); in checkArgument()
/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/r8/src/test/java/com/android/tools/r8/utils/
DArtErrorParser.java83 public final String errorMessage; field in ArtErrorParser.ArtMethodError
89 String methodSignature, String errorMessage, in ArtMethodError() argument
97 this.errorMessage = errorMessage; in ArtMethodError()
114 .append(errorMessage); in getMessage()
217 String errorMessage = errorMessageContent.toString(); in parse() local
222 List<Long> locations = parseLocations(errorMessage); in parse()
224 methodReturn, methodFormals, methodSig, errorMessage, locations, currentLine - line); in parse()
/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()

1234