/libcore/luni/src/main/native/ |
java_util_regex_Pattern.cpp | 66 jobject exception = env->NewObject(exceptionClass, method, message, pattern, error.offset); local 67 env->Throw(reinterpret_cast<jthrowable>(exception));
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
AtomicMoveNotSupportedExceptionTest.java | 29 AtomicMoveNotSupportedException exception = new AtomicMoveNotSupportedException("source", local 31 assertEquals("source", exception.getFile()); 32 assertEquals("target", exception.getOtherFile()); 33 assertEquals("reason", exception.getReason()); 34 assertTrue(exception instanceof FileSystemException); 73 AtomicMoveNotSupportedException exception = (AtomicMoveNotSupportedException) local 76 String hex1 = SerializationTester.serializeHex(exception).toString(); 78 assertEquals("source", exception.getFile()); 79 assertEquals("target", exception.getOtherFile()); 80 assertEquals("reason", exception.getReason()) [all...] |
DirectoryIteratorExceptionTest.java | 28 DirectoryIteratorException exception = new DirectoryIteratorException(ioException); local 30 assertSame(ioException, exception.getCause());
|
FileSystemLoopExceptionTest.java | 29 FileSystemLoopException exception = new FileSystemLoopException("file"); local 30 assertEquals("file", exception.getFile()); 31 assertTrue(exception instanceof FileSystemException); 68 FileSystemLoopException exception = (FileSystemLoopException) SerializationTester local 71 String hex1 = SerializationTester.serializeHex(exception).toString(); 73 assertEquals("file", exception.getFile());
|
FileSystemNotFoundExceptionTest.java | 26 FileSystemNotFoundException exception = new FileSystemNotFoundException(); local 27 assertEquals(null, exception.getMessage()); 32 FileSystemNotFoundException exception = new FileSystemNotFoundException(message); local 33 assertEquals(message, exception.getMessage());
|
ProviderMismatchExceptionTest.java | 26 ProviderMismatchException exception = new ProviderMismatchException(testString); local 27 assertEquals(testString, exception.getMessage()); 31 ProviderMismatchException exception = new ProviderMismatchException(); local 32 assertEquals(null, exception.getMessage()); 33 assertTrue(exception instanceof IllegalArgumentException);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
DirectoryResult.java | 31 public Exception exception; field in class:DirectoryResult
|
/external/kotlinc/lib/ |
kotlin-stdlib-jdk7.jar | |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
IllegalStateExceptionTest.java | 49 Throwable emptyThrowable = new Exception(); 55 Throwable throwable = new Exception("msg"); 56 IllegalStateException exception = new IllegalStateException(throwable); local 57 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage()); 66 Throwable emptyThrowable = new Exception(); 72 Throwable throwable = new Exception("msg_exception"); 73 IllegalStateException exception = new IllegalStateException("msg", throwable); local 74 assertEquals("msg", exception.getMessage()); 75 assertEquals("msg", exception.getLocalizedMessage()); 76 assertEquals(throwable.getClass().getName() + ": " + throwable.getMessage(), exception [all...] |
UnsupportedOperationExceptionTest.java | 49 Throwable emptyThrowable = new Exception(); 56 Throwable throwable = new Exception("msg"); 57 UnsupportedOperationException exception = new UnsupportedOperationException(throwable); local 58 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage()); 67 Throwable emptyThrowable = new Exception(); 74 Throwable throwable = new Exception("msg_exception"); 75 UnsupportedOperationException exception = new UnsupportedOperationException( local 77 assertEquals("msg", exception.getMessage()); 78 assertEquals("msg", exception.getLocalizedMessage()); 79 assertEquals(throwable.getClass().getName() + ": " + throwable.getMessage(), exception [all...] |
/art/runtime/native/ |
java_lang_VMClassLoader.cc | 94 ObjPtr<mirror::Class> exception = self->GetException()->GetClass(); local 95 if (exception == iae_class || exception == ncdfe_class) {
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/ |
ExposedProvider.java | 55 String exception = null; local 59 exception = t.getClass().getName(); 66 .setException(exception)
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
RetryRuleTest.java | 38 private static class RetryableStatement<T extends Exception> extends Statement { 43 RetryableStatement(int numberFailures, T exception) { 45 mException = exception; 72 final RetryableException exception = new RetryableException(timeout, "Y U NO?"); local 74 rule.apply(new RetryableStatement<RetryableException>(1, exception), mDescription)
|
/external/ImageMagick/utilities/ |
magick.c | 105 *exception; 121 exception=AcquireExceptionInfo(); 148 MagickCommands[i].use_metadata ? &metadata : (char **) NULL,exception); 170 exception=DestroyExceptionInfo(exception); 103 *exception; local
|
/external/apache-xml/src/main/java/org/apache/xalan/extensions/ |
ObjectFactory.java | 63 //throw security exception if the calling thread is not allowed to access the 127 /** Exception. */ 128 private Exception exception; field in class:ObjectFactory.ConfigurationError 136 * exception. 138 ConfigurationError(String msg, Exception x) { 140 this.exception = x; 141 } // <init>(String,Exception) 147 /** Returns the exception associated to this error. */ 148 Exception getException() [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
DefaultErrorHandler.java | 47 * if this flag is set to true, we will rethrow the exception on 112 * @param exception The warning information encapsulated in a 113 * SAX parse exception. 114 * @throws SAXException Any SAX exception, possibly 115 * wrapping another exception. 117 public void warning(SAXParseException exception) throws SAXException 121 printLocation(pw, exception); 122 pw.println("Parser warning: " + exception.getMessage()); 141 * @param exception The error information encapsulated in a 142 * SAX parse exception [all...] |
/external/deqp/external/openglcts/modules/common/ |
glcExposedExtensionsTests.cpp | 115 string_vector::const_iterator exception = m_allowedExceptions.begin(); local 116 while (exception != m_allowedExceptions.end()) 118 if ((*exception).compare(*currExtension) == 0) 123 ++exception; 126 // Current exception is not on allowed exceptions list, test will fail
|
/external/google-breakpad/src/processor/ |
minidump_dump.cc | 128 MinidumpException *exception = minidump.GetException(); local 129 if (!exception) { 132 exception->Print();
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
CollationRoot.java | 30 private static final RuntimeException exception; field in class:CollationRoot 33 if(exception != null) { 34 throw exception; 55 // Otherwise we would set a non-null root object if the data reader throws an exception. 65 exception = e2;
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
CollationRoot.java | 28 private static final RuntimeException exception; field in class:CollationRoot 31 if(exception != null) { 32 throw exception; 53 // Otherwise we would set a non-null root object if the data reader throws an exception. 63 exception = e2;
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
DeltaInputStream.java | 37 private IOException exception = null; field in class:DeltaInputStream 98 if (exception != null) 99 throw exception; 105 exception = e; 125 if (exception != null) 126 throw exception;
|
/external/mockito/src/test/java/org/mockito/internal/verification/checkers/ |
MissingInvocationCheckerTest.java | 32 public ExpectedException exception = ExpectedException.none(); field in class:MissingInvocationCheckerTest 47 exception.expect(WantedButNotInvoked.class); 48 exception.expectMessage("Wanted but not invoked:"); 49 exception.expectMessage("mock.simpleMethod()"); 50 exception.expectMessage("However, there was exactly 1 interaction with this mock:"); 51 exception.expectMessage("mock.differentMethod();"); 61 exception.expect(ArgumentsAreDifferent.class); 63 exception.expectMessage("Argument(s) are different! Wanted:"); 64 exception.expectMessage("mock.intArgumentMethod(2222);"); 65 exception.expectMessage("Actual invocation has different arguments:") [all...] |
/external/mockito/src/test/java/org/mockitousage/junitrunner/ |
VerboseMockitoRunnerTest.java | 74 public void shouldContainWarnings() throws Exception { 79 Throwable exception = result.getFailures().get(0).getException(); local 80 assertTrue(exception instanceof ExceptionIncludingMockitoWarnings); 85 public void shouldNotContainWarnings() throws Exception {
|
/external/oj-libjdwp/src/share/back/ |
invoker.h | 8 * particular file as subject to the "Classpath" exception as provided 51 jvalue returnValue; /* if no exception, for all but INVOKE_CONSTRUCTOR */ 52 jobject exception; /* NULL if no exception was thrown */ member in struct:InvokeRequest
|
/external/okhttp/okio/okio/src/test/java/okio/ |
MockSink.java | 46 IOException exception = callThrows.get(log.size() - 1); local 47 if (exception != null) throw exception;
|