HomeSort by relevance Sort by last modified time
    Searched full:throw (Results 351 - 375 of 18888) sorted by null

<<11121314151617181920>>

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
ReadOnlyDoubleBufferTest.java 44 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
57 fail("Should throw Exception"); //$NON-NLS-1$
65 fail("Should throw Exception"); //$NON-NLS-1$
74 fail("Should throw Exception"); //$NON-NLS-1$
84 fail("Should throw Exception"); //$NON-NLS-1$
90 fail("Should throw Exception"); //$NON-NLS-1$
100 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
106 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
112 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
118 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1
    [all...]
ReadOnlyFloatBufferTest.java 43 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
57 fail("Should throw Exception"); //$NON-NLS-1$
66 fail("Should throw Exception"); //$NON-NLS-1$
75 fail("Should throw Exception"); //$NON-NLS-1$
85 fail("Should throw Exception"); //$NON-NLS-1$
91 fail("Should throw Exception"); //$NON-NLS-1$
101 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
107 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
113 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
119 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1
    [all...]
ReadOnlyIntBufferTest.java 43 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
57 fail("Should throw Exception"); //$NON-NLS-1$
66 fail("Should throw Exception"); //$NON-NLS-1$
75 fail("Should throw Exception"); //$NON-NLS-1$
85 fail("Should throw Exception"); //$NON-NLS-1$
91 fail("Should throw Exception"); //$NON-NLS-1$
101 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
107 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
113 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
119 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1
    [all...]
ReadOnlyLongBufferTest.java 43 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
57 fail("Should throw Exception"); //$NON-NLS-1$
66 fail("Should throw Exception"); //$NON-NLS-1$
75 fail("Should throw Exception"); //$NON-NLS-1$
85 fail("Should throw Exception"); //$NON-NLS-1$
91 fail("Should throw Exception"); //$NON-NLS-1$
101 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
107 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
113 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
119 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1
    [all...]
ReadOnlyShortBufferTest.java 43 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
57 fail("Should throw Exception"); //$NON-NLS-1$
66 fail("Should throw Exception"); //$NON-NLS-1$
75 fail("Should throw Exception"); //$NON-NLS-1$
85 fail("Should throw Exception"); //$NON-NLS-1$
91 fail("Should throw Exception"); //$NON-NLS-1$
101 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
107 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
113 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
119 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
InflaterOutputStreamTest.java 45 fail("Should throw NullPointerException");
59 fail("Should throw NullPointerException");
66 fail("Should throw NullPointerException");
80 fail("Should throw NullPointerException");
87 fail("Should throw NullPointerException");
94 fail("Should throw NullPointerException");
101 fail("Should throw NullPointerException");
108 fail("Should throw IllegalArgumentException");
115 fail("Should throw IllegalArgumentException");
139 fail("Should throw IOException")
    [all...]
  /art/test/003-omnibus-opcodes/src/
Throw.java 20 public class Throw {
22 throw new NullPointerException("npe!");
26 throw new ArithmeticException();
30 System.out.println("Throw.one");
43 System.out.println("Throw.twoA");
65 System.out.println("Throw.twoN");
87 System.out.println("Throw.rethrow");
102 throw (NullPointerException) ex;
117 Throw th = new Throw();
    [all...]
  /art/test/008-exceptions/src/
Main.java 30 throw new BadError("BadInit");
48 throw new BadErrorNoStringInit();
77 npe2 = new NullPointerException("second throw");
79 throw npe2;
84 throw new NullPointerException("first throw");
91 throw new IllegalStateException("Should not reach here.");
100 throw new IllegalStateException("Should not reach here.");
114 throw new IllegalStateException("Should not reach here.");
123 throw new IllegalStateException("Should not reach here.")
    [all...]
  /external/conscrypt/src/platform/java/org/conscrypt/
TrustedCertificateKeyStoreSpi.java 38 throw new NullPointerException("alias == null");
46 throw new NullPointerException("alias == null");
64 throw new UnsupportedOperationException();
69 throw new UnsupportedOperationException();
75 throw new NullPointerException("alias == null");
77 throw new UnsupportedOperationException();
82 throw new UnsupportedOperationException();
103 throw new NullPointerException("alias == null");
120 throw new UnsupportedOperationException();
126 throw new UnsupportedOperationException()
    [all...]
  /external/guava/guava/src/com/google/common/math/
MathPreconditions.java 32 throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
39 throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
46 throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
53 throw new IllegalArgumentException(role + " (" + x + ") must be >= 0");
60 throw new IllegalArgumentException(role + " (" + x + ") must be >= 0");
67 throw new IllegalArgumentException(role + " (" + x + ") must be >= 0");
74 throw new IllegalArgumentException(role + " (" + x + ") must be >= 0");
81 throw new ArithmeticException("mode was UNNECESSARY, but rounding was necessary");
87 throw new ArithmeticException("not in range");
93 throw new ArithmeticException("overflow")
    [all...]
  /external/libcxxabi/test/
catch_ptr_02.pass.cpp 20 throw &a;
36 throw &a;
52 throw &ca;
68 throw &ca;
88 throw (derived*)0;
104 throw nullptr;
120 throw (derived*)12;
141 throw &derived;
157 throw nullptr;
173 throw (vDerived*)0
    [all...]
  /external/v8/test/webkit/
exception-with-handler-inside-eval-with-dynamic-scope.js 29 eval("try { throw ''; } catch (e) { result = test; shouldBe('result', '\"inner scope\"'); }");
31 eval("try { with({test:'innermost scope'}) throw ''; } catch (e) { result = test; shouldBe('result', '\"inner scope\"'); }");
33 eval("with ({test:'innermost scope'}) try { throw ''; } catch (e) { result = test; shouldBe('result', '\"innermost scope\"'); }");
35 with ({test:'innermost scope'}) eval("try { throw ''; } catch (e) { result = test; shouldBe('result', '\"innermost scope\"'); }");
38 eval("try { throw ''; } finally { result = test; shouldBe('result', '\"inner scope\"'); result = null; undeclared; }");
43 eval("try { with({test:'innermost scope'}) throw ''; } catch (e) { result = test; shouldBe('result', '\"inner scope\"'); }");
45 eval("with ({test:'innermost scope'}) try { throw ''; } catch (e) { result = test; shouldBe('result', '\"innermost scope\"'); }");
47 with ({test:'innermost scope'}) eval("try { throw ''; } catch (e) { result = test; shouldBe('result', '\"innermost scope\"'); }");
51 eval("try { throw ''; } catch (e) { result = test; shouldBe('result', '\"outer scope\"'); }");
53 eval("try { throw ''; } catch (e) { result = test; shouldBe('result', '\"outer scope\"'); }")
    [all...]
  /frameworks/base/core/java/android/security/net/config/
TrustedCertificateStoreAdapter.java 71 throw new UnsupportedOperationException();
79 throw new UnsupportedOperationException();
84 throw new UnsupportedOperationException();
89 throw new UnsupportedOperationException();
94 throw new UnsupportedOperationException();
99 throw new UnsupportedOperationException();
104 throw new UnsupportedOperationException();
109 throw new UnsupportedOperationException();
114 throw new UnsupportedOperationException();
119 throw new UnsupportedOperationException()
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/
HandlerBaseTest.java 42 throw new RuntimeException(e);
62 throw new RuntimeException(e);
70 throw new RuntimeException(e);
78 throw new RuntimeException(e);
86 throw new RuntimeException(e);
94 throw new RuntimeException(e);
102 throw new RuntimeException(e);
110 throw new RuntimeException(e);
118 throw new RuntimeException(e);
126 throw new RuntimeException(e)
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
SAXParserFactoryImpl.java 44 throw new NullPointerException("name == null");
48 throw new SAXNotRecognizedException(name);
59 throw new AssertionError(ex);
68 throw new AssertionError(ex);
75 throw new ParserConfigurationException(
82 throw new ParserConfigurationException(ex.toString());
89 throw new NullPointerException("name == null");
93 throw new SAXNotRecognizedException(name);
109 throw new AssertionError(ex);
118 throw new AssertionError(ex)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/
catch_ptr_02.pass.cpp 20 throw &a;
36 throw &a;
52 throw &ca;
68 throw &ca;
88 throw (derived*)0;
104 throw nullptr;
120 throw (derived*)12;
141 throw &derived;
157 throw nullptr;
173 throw (vDerived*)0
    [all...]
  /ndk/tests/device/test-stlport_shared-exception/jni/
catchptr1.cpp 20 throw &fn;
39 throw &A::fn;
58 throw &var;
77 throw &var;
96 throw &const_var;
120 throw (void ***)0;
138 throw (void const* const* const*)0;
172 throw (void ***)0;
197 throw (B **)0;
218 throw (B **)0
    [all...]
  /ndk/tests/device/test-stlport_static-exception/jni/
catchptr1.cpp 20 throw &fn;
39 throw &A::fn;
58 throw &var;
77 throw &var;
96 throw &const_var;
120 throw (void ***)0;
138 throw (void const* const* const*)0;
172 throw (void ***)0;
197 throw (B **)0;
218 throw (B **)0
    [all...]
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLECKeyFactory.java 41 throw new InvalidKeySpecException("keySpec == null");
49 throw new InvalidKeySpecException("Must use ECPublicKeySpec or X509EncodedKeySpec; was "
56 throw new InvalidKeySpecException("keySpec == null");
65 throw new InvalidKeySpecException("Must use ECPrivateKeySpec or PKCS8EncodedKeySpec; was "
73 throw new InvalidKeySpecException("key == null");
77 throw new InvalidKeySpecException("keySpec == null");
81 throw new InvalidKeySpecException("Key must be an EC key");
90 throw new InvalidKeySpecException("Not a valid X.509 encoding");
101 throw new InvalidKeySpecException("Not a valid PKCS#8 encoding");
110 throw new InvalidKeySpecException("Encoding type must be PKCS#8; was
    [all...]
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
TestKeyStoreSpi.java 74 throw new KeyStoreException("entry " + alias + " cannot be deleted");
85 throw new NullPointerException();
113 throw new NoSuchAlgorithmException("no such alg");
115 throw new UnrecoverableKeyException();
122 throw new UnrecoverableKeyException();
151 throw new IOException();
155 throw new NoSuchAlgorithmException();
157 throw new CertificateException();
171 throw new NoSuchAlgorithmException();
177 throw new NoSuchAlgorithmException()
    [all...]
  /external/proguard/src/proguard/classfile/io/
RuntimeDataOutput.java 52 throw new RuntimeException(ex.getMessage());
65 throw new RuntimeException(ex.getMessage());
78 throw new RuntimeException(ex.getMessage());
91 throw new RuntimeException(ex.getMessage());
104 throw new RuntimeException(ex.getMessage());
117 throw new RuntimeException(ex.getMessage());
130 throw new RuntimeException(ex.getMessage());
143 throw new RuntimeException(ex.getMessage());
156 throw new RuntimeException(ex.getMessage());
169 throw new RuntimeException(ex.getMessage())
    [all...]
  /libcore/ojluni/src/main/java/sun/nio/ch/
FileDescriptorHolderSocketImpl.java 48 throw new UnsupportedOperationException();
53 throw new UnsupportedOperationException();
58 throw new UnsupportedOperationException();
63 throw new UnsupportedOperationException();
68 throw new UnsupportedOperationException();
73 throw new UnsupportedOperationException();
78 throw new UnsupportedOperationException();
83 throw new UnsupportedOperationException();
88 throw new UnsupportedOperationException();
93 throw new UnsupportedOperationException()
    [all...]
  /art/test/045-reflect-array/src/
Main.java 34 throw new RuntimeException();
36 throw new RuntimeException();
39 throw new RuntimeException("store should have failed");
43 throw new RuntimeException("store should have failed");
48 throw new RuntimeException("bad len");
57 throw new RuntimeException("bad 123 or 456");
63 throw new RuntimeException("cast should have failed");
68 throw new RuntimeException();
87 throw new RuntimeException("shouldn't allow short in char array");
91 throw new RuntimeException("shouldn't allow int in char array")
    [all...]
  /external/clang/test/CXX/except/except.spec/
p1.cpp 11 void f() throw() { }
13 void g(int) throw(X) { }
15 void h() throw(X, Y) { }
18 void foo() throw (X, Y) { }
21 void (*fptr)() throw();
46 void f() throw(int) noexcept { } // expected-error {{cannot have both}}
47 void g() noexcept throw(int) { } // expected-error {{cannot have both}}
  /external/jacoco/jacoco-maven-plugin.test/it/it-multi-module/
verify.bsh 17 throw new RuntimeException( "Execution should be skipped when target/classes does not exist." );
22 throw new RuntimeException( "Should not be executed for module 'skip-child', but dump found : " + dump2 );
26 throw new RuntimeException( "Property not set to empty when skipping." );
32 throw new FileNotFoundException( "Could not find generated dump: " + file );
38 throw new FileNotFoundException( "Could not find generated XML report: " + xmlReport );
44 throw new FileNotFoundException( "Could not find generated CSV report: " + csvReport );
50 throw new FileNotFoundException( "Could not find generated HTML report: " + htmlReport );

Completed in 654 milliseconds

<<11121314151617181920>>