HomeSort by relevance Sort by last modified time
    Searched refs:nextToThrow (Results 1 - 2 of 2) sorted by null

  /external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
CheckedProviderTest.java 93 MockFoo.nextToThrow = null;
95 AnotherMockFoo.nextToThrow = null;
176 MockFoo.nextToThrow = new BindException("kaboom!");
246 MockFoo.nextToThrow = new RemoteException("A");
255 MockFoo.nextToThrow = new RemoteException("B");
281 MockFoo.nextToThrow = new RemoteException("A");
290 MockFoo.nextToThrow = new RemoteException("B");
393 MockFoo.nextToThrow = new IndexOutOfBoundsException("A");
403 MockFoo.nextToThrow = new IndexOutOfBoundsException("B");
706 static Exception nextToThrow;
    [all...]
ThrowingProviderTest.java 517 Exception nextToThrow;
524 public void throwOnNextGet(Exception nextToThrow) {
525 this.nextToThrow = nextToThrow;
533 if (nextToThrow instanceof RemoteException) {
534 throw (RemoteException) nextToThrow;
535 } else if (nextToThrow instanceof RuntimeException) {
536 throw (RuntimeException) nextToThrow;
537 } else if (nextToThrow == null) {
540 throw new AssertionError("nextToThrow must be a runtime or remote exception")
    [all...]

Completed in 161 milliseconds