Searched defs:ex (Results 1 - 22 of 22) sorted by relevance

/libcore/luni/src/main/java/java/nio/charset/
H A DCoderMalfunctionError.java35 * @param ex
38 public CoderMalfunctionError(Exception ex) { argument
39 super(ex);
/libcore/luni/src/main/java/java/security/
H A DPrivilegedActionException.java27 public PrivilegedActionException(Exception ex) { argument
28 super(ex);
/libcore/luni/src/main/java/java/lang/
H A DClassNotFoundException.java27 private Throwable ex; field in class:ClassNotFoundException
60 ex = exception;
69 return ex;
80 return ex;
/libcore/luni/src/main/java/javax/sql/
H A DConnectionEvent.java33 private SQLException ex; field in class:ConnectionEvent
61 ex = theException;
72 return ex;
/libcore/dex/src/main/java/com/android/dex/util/
H A DExceptionWithContext.java35 * @param ex {@code non-null;} the exception to augment
39 public static ExceptionWithContext withContext(Throwable ex, String str) { argument
42 if (ex instanceof ExceptionWithContext) {
43 ewc = (ExceptionWithContext) ex;
45 ewc = new ExceptionWithContext(ex);
/libcore/dom/src/test/java/org/w3c/domts/
H A DDOMTestIncompatibleException.java35 public DOMTestIncompatibleException(Throwable ex, argument
37 if (ex != null) {
38 msg = ex.toString();
H A DJAXPDOMTestDocumentBuilderFactory.java63 catch (ParserConfigurationException ex) {
64 throw new DOMTestIncompatibleException(ex, null);
96 public void error(SAXParseException ex) { argument
99 parseException = ex;
103 public void warning(SAXParseException ex) { argument
107 public void fatalError(SAXParseException ex) { argument
109 parseException = ex;
129 catch (Exception ex) {
130 parseException = ex;
/libcore/luni/src/main/java/java/sql/
H A DSQLException.java217 * Obsolete. Appends {@code ex} to the end of this chain.
219 public void setNextException(SQLException ex) { argument
221 next.setNextException(ex);
223 next = ex;
/libcore/luni/src/main/java/java/util/concurrent/
H A DCountedCompleter.java454 * @param ex the exception
460 public boolean onExceptionalCompletion(Throwable ex, CountedCompleter<?> caller) { argument
672 void internalPropagateException(Throwable ex) { argument
674 while (a.onExceptionalCompletion(ex, s) &&
676 a.recordExceptionalCompletion(ex) == EXCEPTIONAL)
H A DForkJoinTask.java61 * for example using {@code ex.printStackTrace()}) of both the thread
401 final Throwable ex; field in class:ForkJoinTask.ExceptionNode
405 ExceptionNode(ForkJoinTask<?> task, Throwable ex, ExceptionNode next) { argument
407 this.ex = ex;
419 final int recordExceptionalCompletion(Throwable ex) { argument
431 t[i] = new ExceptionNode(this, ex, t[i]);
450 private int setExceptionalCompletion(Throwable ex) { argument
451 int s = recordExceptionalCompletion(ex);
453 internalPropagateException(ex);
460 internalPropagateException(Throwable ex) argument
611 rethrow(Throwable ex) argument
902 completeExceptionally(Throwable ex) argument
1389 internalPropagateException(Throwable ex) argument
[all...]
H A DForkJoinPool.java1292 Throwable ex = null;
1301 ex = rex;
1303 deregisterWorker(wt, ex);
1368 * @param ex the exception causing failure, or null if none
1370 final void deregisterWorker(ForkJoinWorkerThread wt, Throwable ex) { argument
1426 if (ex == null) // help clean refs on way out
1429 ForkJoinTask.rethrow(ex);
1949 Throwable ex = null;
1958 ex = rex;
1960 deregisterWorker(wt, ex); // clea
[all...]
/libcore/luni/src/test/java/tests/org/w3c/dom/
H A DDOMTestCase.java29 } catch (Exception ex) {
30 parseException = ex;
60 } catch (MalformedURLException ex) {
61 // fail("Unexpected exception " + ex.getMessage());
86 } catch (MalformedURLException ex) {
87 fail("Unexpected exception " + ex.getMessage());
206 public void error(SAXParseException ex) { argument
209 parseException = ex;
213 public void warning(SAXParseException ex) { argument
217 public void fatalError(SAXParseException ex) { argument
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DThreadGroupTest.java774 private Throwable ex; field in class:ThreadGroupTest.TestThreadDefaultUncaughtExceptionHandler
778 public void uncaughtException(Thread thread, Throwable ex) { argument
781 this.ex = ex;
784 public void assertWasCalled(Thread thread, Throwable ex) { argument
787 assertSame(this.ex, ex);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
H A DDocumentBuilderFactoryTest.java392 } catch (Exception ex) {
393 parseException = ex;
422 } catch (Exception ex) {
423 parseException = ex;
454 } catch (Exception ex) {
455 parseException = ex;
477 } catch (Exception ex) {
478 parseException = ex;
736 // } catch (Exception ex) {
737 // parseException = ex;
929 error(SAXParseException ex) argument
936 warning(SAXParseException ex) argument
940 fatalError(SAXParseException ex) argument
[all...]
/libcore/luni/src/main/java/java/net/
H A DNetworkInterface.java184 } catch (NumberFormatException ex) {
185 throw rethrowAsSocketException(ex);
210 } catch (Exception ex) {
211 throw rethrowAsSocketException(ex);
242 } catch (Exception ex) {
243 throw rethrowAsSocketException(ex);
247 private static SocketException rethrowAsSocketException(Exception ex) throws SocketException { argument
249 result.initCause(ex);
500 } catch (Exception ex) {
501 throw rethrowAsSocketException(ex);
[all...]
/libcore/luni/src/main/java/java/util/logging/
H A DHandler.java248 * @param ex
253 protected void reportError(String msg, Exception ex, int code) { argument
254 this.errorMan.error(msg, ex, code);
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLSocketTest.java614 @Override public void uncaughtException(Thread thread, Throwable ex) { argument
616 actualException = ex;
/libcore/libart/src/main/java/java/lang/
H A DThread.java1144 * @param ex the exception that was thrown
1146 void uncaughtException(Thread thread, Throwable ex); argument
1221 } catch (InterruptedException ex) {
/libcore/luni/src/main/java/java/io/
H A DObjectOutputStream.java1036 Throwable ex = e.getTargetException();
1037 if (ex instanceof RuntimeException) {
1038 throw (RuntimeException) ex;
1039 } else if (ex instanceof Error) {
1040 throw (Error) ex;
1042 throw (IOException) ex;
1283 * Write exception {@code ex} into the receiver. It is assumed the
1294 * @param ex
1301 private void writeNewException(Exception ex) throws IOException { argument
1304 writeObjectInternal(ex, fals
[all...]
/libcore/jsr166-tests/src/test/java/jsr166/
H A DCountedCompleterTest.java237 public boolean onExceptionalCompletion(Throwable ex, argument
240 assertNotNull(ex);
242 assertTrue(super.onExceptionalCompletion(ex, caller));
269 void checkCompletesExceptionally(Throwable ex) { argument
271 completeExceptionally(ex);
272 checkCompletedExceptionally(ex);
274 void checkCompletedExceptionally(Throwable ex) { argument
280 checkCompletedAbnormally(this, ex);
989 FJException ex = new FJException();
990 f.completeExceptionally(ex);
[all...]
H A DForkJoinTaskTest.java258 private void completeThisExceptionally(Throwable ex) { argument
259 super.completeExceptionally(ex);
282 public final void completeExceptionally(Throwable ex) { argument
285 a.completeThisExceptionally(ex);
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 958 milliseconds