/libcore/luni/src/test/java/org/apache/harmony/nio_char/tests/java/nio/charset/ |
CharacterCodingExceptionTest.java | 44 CharacterCodingException ex = new CharacterCodingException(); local 45 assertTrue(ex instanceof IOException); 46 assertNull(ex.getCause()); 47 assertNull(ex.getMessage());
|
/libcore/luni/src/test/java/tests/api/java/io/ |
OpenRandomFileTest.java | 60 } catch (IOException ex) { 61 fail(ex.getLocalizedMessage()); 79 } catch (IOException ex) { 80 fail(ex.getLocalizedMessage());
|
/libcore/luni/src/test/java/tests/support/ |
ThreadPool.java | 84 } catch (InterruptedException ex) { 85 System.err.println(ex.getMessage()); 102 } catch (InterruptedException ex) { 103 System.err.println(ex.getMessage());
|
/packages/apps/Gallery/src/com/android/camera/ |
ReverseGeocoderTask.java | 60 } catch (IOException ex) { 62 Log.e(TAG, "Geocoder exception: ", ex); 63 } catch (RuntimeException ex) { 65 Log.e(TAG, "Geocoder exception: ", ex);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
Pipeline.java | 73 } catch (IOException ex) { 74 InternalErrorHandler.handleException(ex); 187 } catch (InterruptedException ex) { 188 throw new IOException(ex.getMessage()); 189 } catch (NoSuchElementException ex) { 190 ex.printStackTrace(); 191 throw new IOException(ex.getMessage());
|
PipelinedMsgParser.java | 240 } catch (IOException ex) { 241 Debug.printStackTrace(ex); 259 } catch (IOException ex) { 261 Debug.printStackTrace(ex); 283 } catch (ParseException ex) { 285 Debug.logError("Detected a parse error", ex); 328 } catch (IOException ex) { 329 Debug.logError("Exception Reading Content",ex); 343 } catch (Exception ex) { 362 } catch (IOException ex) { [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
ZygoteInit.java | 135 } catch (ClassNotFoundException ex) { 138 ex); 144 } catch (NoSuchMethodException ex) { 146 "Missing static main on " + className, ex); 147 } catch (SecurityException ex) { 149 "Problem getting static main on " + className, ex); 178 } catch (RuntimeException ex) { 180 ANDROID_SOCKET_ENV + " unset or invalid", ex); 186 } catch (IOException ex) { 188 "Error binding to local socket '" + fileDesc + "'", ex); [all...] |
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
FieldTest.java | 718 } catch (IllegalArgumentException ex) { 720 } catch (Exception ex) { 730 } catch (IllegalAccessException ex) { 732 } catch (Exception ex) { 734 + ex.getMessage()); 744 } catch (NullPointerException ex) { 746 } catch (Exception ex) { 757 } catch (Exception ex) { 791 } catch (IllegalArgumentException ex) { 793 } catch (Exception ex) { [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
ExecutionStack.java | 72 * @param ex {@code non-null;} the exception to annotate 74 public void annotate(ExceptionWithContext ex) { 80 ex.addContext("stack[" + idx + "]: " + 154 } catch (NullPointerException ex) { 241 } catch (NullPointerException ex) { 271 } catch (SimException ex) { 272 ex.addContext("underlay stack:"); 273 this.annotate(ex); 274 ex.addContext("overlay stack:"); 275 other.annotate(ex); [all...] |
OneLocalsArray.java | 59 public void annotate(ExceptionWithContext ex) { 63 ex.addContext("locals[" + Hex.u2(i) + "]: " + s); 111 } catch (NullPointerException ex) { 212 } catch (SimException ex) { 213 ex.addContext("underlay locals:"); 214 annotate(ex); 215 ex.addContext("overlay locals:"); 216 other.annotate(ex); 217 throw ex;
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
X509KeyManagerImpl.java | 111 } catch (Exception ex) { 112 throw new IllegalArgumentException(ex.getMessage()); 135 } catch (Exception ex) { 136 throw new IllegalArgumentException(ex.getMessage()); 154 } catch (Exception ex) { 155 throw new IllegalArgumentException(ex.getMessage()); 179 } catch (Exception ex) { 180 throw new IllegalArgumentException(ex.getMessage()); 195 } catch (Exception ex) { 196 throw new IllegalArgumentException(ex.getMessage()) [all...] |
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
ATResponseParserTest.java | 34 } catch (ATParseEx ex) { 56 } catch (ATParseEx ex) { 70 } catch (ATParseEx ex) { 81 } catch (ATParseEx ex) { 105 fail("expected ex"); 106 } catch (ATParseEx ex) {
|
/libcore/dom/src/test/java/org/w3c/domts/ |
LSDocumentBuilderFactory.java | 144 catch (InvocationTargetException ex) { 145 throw new DOMTestIncompatibleException(ex.getTargetException(), setting); 147 catch (Exception ex) { 148 throw new DOMTestIncompatibleException(ex, setting); 188 catch (Exception ex) { 232 catch (Exception ex) { 288 catch (InvocationTargetException ex) { 289 throw new DOMTestIncompatibleException(ex.getTargetException(), null); 291 catch (Exception ex) { 292 throw new DOMTestIncompatibleException(ex, null) [all...] |
JAXPDOMTestDocumentBuilderFactory.java | 62 catch (ParserConfigurationException ex) { 63 throw new DOMTestIncompatibleException(ex, null); 95 public void error(SAXParseException ex) { 98 parseException = ex; 102 public void warning(SAXParseException ex) { 106 public void fatalError(SAXParseException ex) { 108 parseException = ex; 126 catch (Exception ex) { 127 parseException = ex;
|
/frameworks/base/core/java/android/database/ |
BulkCursorToCursorAdaptor.java | 50 } catch (RemoteException ex) { 111 } catch (RemoteException ex) { 133 } catch (RemoteException ex) { 144 } catch (RemoteException ex) { 170 } catch (Exception ex) { 171 Log.e(TAG, "Unable to requery because the remote process exception " + ex.getMessage()); 203 } catch (RemoteException ex) { 214 } catch (RemoteException ex) { 253 } catch (RemoteException ex) {
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
DefaultPhoneNotifier.java | 50 } catch (RemoteException ex) { 58 } catch (RemoteException ex) { 66 } catch (RemoteException ex) { 74 } catch (RemoteException ex) { 82 } catch (RemoteException ex) { 90 } catch (RemoteException ex) { 107 } catch (RemoteException ex) { 115 } catch (RemoteException ex) { 125 } catch (RemoteException ex) {
|
/frameworks/base/telephony/java/com/android/internal/telephony/test/ |
ModelInterpreter.java | 106 } catch (IOException ex) { 108 } catch (IndexOutOfBoundsException ex) { 114 } catch (UnsupportedEncodingException ex) { 206 } catch (java.io.IOException ex) { 208 "IOException on socket.accept(); stopping", ex); 215 } catch (java.io.IOException ex) { 217 "IOException on accepted socket(); re-listening", ex); 244 } catch (InterruptedException ex) { 254 } catch (InterpreterEx ex) { 255 println(ex.result) [all...] |
/libcore/luni/src/test/java/tests/security/acl/ |
IOwnerTest.java | 58 } catch (Exception ex) { 59 fail("Unexpected exception " + ex); 83 } catch (Exception ex) { 84 fail("Unexpected exception " + ex); 126 } catch (Exception ex) { 127 fail("Unexpected exception " + ex);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/sdk/ |
TestLayoutDevicesXsd.java | 85 public void error(SAXParseException ex) throws SAXException {
86 mErrors += "Error: " + ex.getMessage() + "\n";
92 public void fatalError(SAXParseException ex) throws SAXException {
93 mErrors += "Fatal Error: " + ex.getMessage() + "\n";
99 public void warning(SAXParseException ex) throws SAXException {
100 mWarnings += "Warning: " + ex.getMessage() + "\n";
|
/frameworks/base/services/java/com/android/server/ |
NativeDaemonConnector.java | 131 } catch (Exception ex) { 133 "Error handling '%s'", event), ex); 138 } catch (InterruptedException ex) { 139 Slog.e(TAG, "Failed to put response onto queue", ex); 158 } catch (IOException ex) { 159 Slog.e(TAG, "Communications error", ex); 160 throw ex; 177 } catch (IOException ex) { 178 Slog.w(TAG, "Failed closing socket", ex); 210 } catch (IOException ex) { [all...] |
/cts/tools/dx-tests/src/dxconvext/util/ |
FileUtils.java | 86 } catch (IOException ex) { 87 throw new RuntimeException(file + ": trouble reading", ex);
|
/cts/tools/vm-tests/src/dot/junit/opcodes/move_exception/ |
Test_move_exception.java | 36 } catch (Exception ex) { 37 fail("Exception " + ex + " was thrown instead off ArithmeticException");
|
/dalvik/dx/src/com/android/dx/util/ |
FileUtils.java | 86 } catch (IOException ex) { 87 throw new RuntimeException(file + ": trouble reading", ex);
|
/dalvik/tests/051-thread/src/ |
Main.java | 32 } catch (InterruptedException ex) { 33 ex.printStackTrace();
|
/dalvik/tests/054-uncaught/src/ |
Main.java | 21 } catch (InterruptedException ex) { 22 ex.printStackTrace();
|