HomeSort by relevance Sort by last modified time
    Searched defs:ex (Results 1 - 25 of 170) sorted by null

1 2 3 4 5 6 7

  /dalvik/libcore/nio_char/src/test/java/org/apache/harmony/nio_char/tests/java/nio/charset/
IllegalCharsetNameExceptionTest.java 53 IllegalCharsetNameException ex = new IllegalCharsetNameException( local
55 assertTrue(ex instanceof IllegalArgumentException);
56 assertNull(ex.getCause());
57 assertEquals(ex.getCharsetName(), "impossible");
58 assertTrue(ex.getMessage().indexOf("impossible") != -1);
60 ex = new IllegalCharsetNameException("ascii");
61 assertNull(ex.getCause());
62 assertEquals(ex.getCharsetName(), "ascii");
63 assertTrue(ex.getMessage().indexOf("ascii") != -1);
65 ex = new IllegalCharsetNameException("")
    [all...]
UnsupportedCharsetExceptionTest.java 53 UnsupportedCharsetException ex = new UnsupportedCharsetException( local
55 assertTrue(ex instanceof IllegalArgumentException);
56 assertNull(ex.getCause());
57 assertEquals(ex.getCharsetName(), "impossible");
58 assertTrue(ex.getMessage().indexOf("impossible") != -1);
60 ex = new UnsupportedCharsetException("ascii");
61 assertNull(ex.getCause());
62 assertEquals(ex.getCharsetName(), "ascii");
63 assertTrue(ex.getMessage().indexOf("ascii") != -1);
65 ex = new UnsupportedCharsetException("")
    [all...]
CharacterCodingExceptionTest.java 44 CharacterCodingException ex = new CharacterCodingException(); local
45 assertTrue(ex instanceof IOException);
46 assertNull(ex.getCause());
47 assertNull(ex.getMessage());
MalformedInputExceptionTest.java 60 MalformedInputException ex = new MalformedInputException(3); local
61 assertTrue(ex instanceof CharacterCodingException);
62 assertNull(ex.getCause());
63 assertEquals(ex.getInputLength(), 3);
64 assertTrue(ex.getMessage().indexOf("3") != -1);
66 ex = new MalformedInputException(-3);
67 assertNull(ex.getCause());
68 assertEquals(ex.getInputLength(), -3);
69 assertTrue(ex.getMessage().indexOf("-3") != -1);
71 ex = new MalformedInputException(0)
    [all...]
UnmappableCharacterExceptionTest.java 60 UnmappableCharacterException ex = new UnmappableCharacterException(3); local
61 assertTrue(ex instanceof CharacterCodingException);
62 assertNull(ex.getCause());
63 assertEquals(ex.getInputLength(), 3);
64 assertTrue(ex.getMessage().indexOf("3") != -1);
66 ex = new UnmappableCharacterException(-3);
67 assertNull(ex.getCause());
68 assertEquals(ex.getInputLength(), -3);
69 assertTrue(ex.getMessage().indexOf("-3") != -1);
71 ex = new UnmappableCharacterException(0)
    [all...]
  /dalvik/libcore/sql/src/main/java/javax/sql/
ConnectionEvent.java 33 private SQLException ex; field in class:ConnectionEvent
61 ex = theException;
72 return ex;
  /dalvik/libcore/luni/src/main/java/java/lang/
ClassNotFoundException.java 27 private Throwable ex; field in class:ClassNotFoundException
60 ex = exception;
69 return ex;
80 return ex;
  /dalvik/libcore/luni/src/main/java/java/util/
SpecialAccess.java 35 } catch (NoSuchMethodException ex) {
36 ex.printStackTrace();
37 throw new AssertionError(ex);
  /dalvik/libcore/dom/src/test/java/org/w3c/domts/
JUnitTestSuiteAdapter.java 43 } catch(InvocationTargetException ex) {
44 throw ex.getTargetException();
58 catch(Throwable ex) {
59 if(!(ex instanceof DOMTestIncompatibleException)) {
60 ex.printStackTrace();
BatikTestDocumentBuilderFactory.java 64 } catch (Exception ex) {
65 throw new DOMTestIncompatibleException(ex, null);
97 } catch (InvocationTargetException ex) {
99 ex.getTargetException(),
101 } catch (Exception ex) {
102 throw new DOMTestIncompatibleException(ex, null);
136 } catch (InvocationTargetException ex) {
137 ex.printStackTrace();
138 throw new DOMTestLoadException(ex.getTargetException());
139 } catch (Exception ex) {
    [all...]
  /dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
AccessControlExceptionTest.java 94 AccessControlException ex = new AccessControlException("001", perm); local
95 assertSame(ex.getPermission(), perm);
PrivilegedActionExceptionTest.java 59 Exception ex = new Exception(); local
60 new PrivilegedActionException(ex);
74 Exception ex = new Exception(); local
75 assertSame(new PrivilegedActionException(ex).getException(), ex);
  /dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
JarExceptionTest.java 43 JarException ex = new JarException(); local
46 assertNotSame(ex, ex1);
47 assertNotSame(ex.getMessage(), ex1.getMessage());
48 assertNotSame(ex, ex2);
49 assertSame(ex.getMessage(), ex2.getMessage());
  /external/apache-http/src/org/apache/http/impl/client/
DefaultRedirectHandler.java 115 } catch (URISyntaxException ex) {
116 throw new ProtocolException("Invalid redirect URI: " + location, ex);
142 } catch (URISyntaxException ex) {
143 throw new ProtocolException(ex.getMessage(), ex); local
165 } catch (URISyntaxException ex) {
166 throw new ProtocolException(ex.getMessage(), ex); local
  /bionic/libm/amd64/
fenv.c 65 fexcept_t ex = excepts; local
67 fesetexceptflag(&ex, excepts);
  /cts/tests/tests/app/src/android/app/cts/
PendingIntent_CanceledExceptionTest.java 63 Exception ex = new Exception(); local
64 canceledException = new PendingIntent.CanceledException(ex);
68 assertSame(ex, e.getCause());
  /cts/tools/signature-tools/src/signature/
Main.java 78 } catch (UsageException ex) {
80 } catch (RuntimeException ex) {
82 ex.printStackTrace();
84 } catch (Throwable ex) {
86 ex.printStackTrace();
  /external/apache-http/src/org/apache/http/client/utils/
CloneUtils.java 49 } catch (NoSuchMethodException ex) {
50 throw new NoSuchMethodError(ex.getMessage());
54 } catch (InvocationTargetException ex) {
55 Throwable cause = ex.getCause();
61 } catch (IllegalAccessException ex) {
62 throw new IllegalAccessError(ex.getMessage());
  /external/openssl/crypto/x509/
x509_v3.c 88 X509_EXTENSION *ex; local
97 ex=sk_X509_EXTENSION_value(sk,lastpos);
98 if (OBJ_cmp(ex->object,obj) == 0)
108 X509_EXTENSION *ex; local
117 ex=sk_X509_EXTENSION_value(sk,lastpos);
118 if ( ((ex->critical > 0) && crit) ||
119 ((ex->critical <= 0) && !crit))
144 X509_EXTENSION *ex, int loc)
168 if ((new_ex=X509_EXTENSION_dup(ex)) == NULL)
183 X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex, int nid
    [all...]
  /external/proguard/src/proguard/
ArgumentWordReader.java 96 catch (Exception ex)
98 ex.printStackTrace();
105 catch (IOException ex)
107 ex.printStackTrace();
  /external/proguard/src/proguard/util/
ClassNameParser.java 211 catch (Exception ex)
213 ex.printStackTrace();
FileNameParser.java 116 catch (Exception ex)
118 ex.printStackTrace();
NameParser.java 101 catch (Exception ex)
103 ex.printStackTrace();
  /frameworks/base/core/java/com/android/internal/logging/
AndroidConfig.java 43 } catch (Exception ex) {
44 ex.printStackTrace();
  /frameworks/base/location/java/android/location/
Geocoder.java 114 String ex = mService.getFromLocation(latitude, longitude, maxResults, local
116 if (ex != null) {
117 throw new IOException(ex);
156 String ex = mService.getFromLocationName(locationName, local
158 if (ex != null) {
159 throw new IOException(ex);
228 String ex = mService.getFromLocationName(locationName, local
231 if (ex != null) {
232 throw new IOException(ex);

Completed in 1302 milliseconds

1 2 3 4 5 6 7