Home
last modified time | relevance | path

Searched refs:throwing (Results 1 – 25 of 78) sorted by relevance

1234

/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
DCheckedProvidersTest.java53 CheckedProviders.throwing(FooCheckedProvider.class, FooException.class); in testThrowingCheckedProviderClass_get_throwsException()
63 CheckedProviders.throwing(TypeLiteral.get(FooCheckedProvider.class), FooException.class); in testThrowingCheckedProviderTypeLiteral_get_throwsException()
106 CheckedProviders.throwing(FooCheckedProvider.class, StringException.class); in testCheckThrowable_unsupportedThrowableConstructor_throwsIllegalArgumentException()
126 CheckedProviders.throwing(FooCheckedProvider.class, BarException.class); in testCheckThrowable_checkedExceptionNotDeclared_throwsIllegalArgumentException()
138 CheckedProviders.throwing(FooCheckedProvider.class, ExpectedRuntimeException.class); in testCheckThrowable_runtimeExceptionNotDeclared_throwsExpectedRuntimeException()
152 CheckedProviders.throwing(FooCheckedProvider.class, ExpectedError.class); in testCheckThrowable_errorNotDeclared_throwsExpectedError()
/external/guice/extensions/testlib/test/com/google/inject/testing/throwingproviders/
DCheckedProviderSubjectTest.java53 CheckedProviders.throwing(StringCheckedProvider.class, SummerException.class); in providedValue_throws_expectFailure()
68 CheckedProviders.throwing(StringCheckedProvider.class, SummerException.class); in thrownException_threwExpected_expectSuccess()
78 CheckedProviders.throwing(StringCheckedProvider.class, unexpected); in thrownException_threwUnexpected_expectFailure()
117 private String getThrowingProviderName(String throwing) { in getThrowingProviderName() argument
118 return String.format("generated CheckedProvider throwing <%s>", throwing); in getThrowingProviderName()
/external/objenesis/tck/src/main/resources/org/objenesis/tck/candidates/
Dcandidates.properties30 ….SerializableWithAncestorThrowingException = Serializable with ancestor throwing exception
35 ….tck.candidates.ConstructorThrowingException = Constructor throwing exception
36 …idates.SerializableConstructorThrowingException = Constructor throwing exception (serial…
Dserializable-candidates.properties29 …idates.SerializableConstructorThrowingException = Constructor throwing exception (serial…
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/
DMethodReference.java61 return this::throwing; in stringer()
78 private String throwing() throws Exception { in throwing() method in MethodReference
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DCheckedProviders.java168 public static <T, P extends CheckedProvider<? super T>> P throwing( in throwing() method in CheckedProviders
185 public static <T, P extends CheckedProvider<? super T>> P throwing( in throwing() method in CheckedProviders
187 return throwing(TypeLiteral.get(providerType), throwable); in throwing()
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/ext/
DXLogger.java157 public <T extends Throwable> T throwing(T throwable) { in throwing() method in XLogger
172 public <T extends Throwable> T throwing(Level level, T throwable) { in throwing() method in XLogger
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/dummyExt/
DXLoggerTest.java107 assertEquals(t, logger.throwing(t)); in testThrowing()
108 assertEquals(t, logger.throwing(XLogger.Level.DEBUG, t)); in testThrowing()
/external/clang/test/CodeGenObjC/
Dexceptions-nonfragile.m15 void throwing() { function
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/PruneEH/
D2008-06-02-Weak.ll5 ; since it can be overriden by throwing implementation.
/external/llvm/test/Transforms/LICM/
Dpreheader-safe.ll58 ; Negative test - can't move out of throwing block
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/command/
DStorCommandHandlerTest.groovy86 println "Calling createOutputStream() - throwing exception"
/external/libcxx/docs/DesignDocs/
DDebugMode.rst49 ``std::__libcpp_debug_exception``. Libc++ can be changed to use the throwing
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DSubclassBytecodeGenerator.java108 .throwing(ClassNotFoundException.class, IOException.class) in mockClass()
/external/antlr/gunit/
DCHANGES.txt59 * recognizes invalid input as a FAIL case instead of throwing an exception
/external/google-breakpad/src/testing/
DCHANGES85 * New feature: actions for accessing function arguments and throwing
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LICM/
Dpreheader-safe.ll115 ; Negative test - can't move out of throwing block
Dscalar-promote-unwind.ll251 ; exceptions by calling the C++ exception throwing methods
/external/e2fsprogs/doc/RelNotes/
Dv1.44.3.txt78 device is opened in the unix_io layer, and throwing away the error.
/external/jcommander/
DCHANGELOG104 Added: now throwing an exception if required main parameters are not supplied
/external/eigen/doc/
DTopicAssertions.dox13 …r. You can redefine this macro if you want to do something else such as throwing an exception, and…
/external/ksoap2/
D0001-ksoap2-update.patch216 * Get an attribute without chance of throwing an exception
223 + * Get an attribute without chance of throwing an exception
238 * Get an attributes' toString value without chance of throwing an
245 + * Get an attributes' toString value without chance of throwing an
652 + * Get a property using namespace and name without chance of throwing an exception
667 + * Get the toString value of a property without chance of throwing an
688 + * Get a property without chance of throwing an exception. An object can be
707 + * Get the toString value of a property without chance of throwing an
783 + * Get the toString value of a primitive property without chance of throwing an
810 + * Get the toString value of a primitive property without chance of throwing an
/external/libcxx/include/
D__debug93 // Setup the throwing debug handler during dynamic initialization.
/external/guava/guava-tests/test/com/google/common/cache/
DCacheLoadingTest.java146 assertSame(key, cache.get(key, throwing(new Exception()))); in testLoad()
1151 cache.get(new Object(), throwing(callableException)); in testLoadCheckedException()
1225 cache.get(new Object(), throwing(callableException)); in testLoadInterruptedException()
1499 cache.get(new Object(), throwing(callableException)); in testLoadUncheckedException()
2503 static <T> Callable<T> throwing(final Exception exception) { in throwing() method in CacheLoadingTest
/external/vixl/
DSConstruct384 # GCC 6 and higher is able to detect throwing from inside a destructor and
391 # the behavior of throwing from desctructors has changed.

1234