Home
last modified time | relevance | path

Searched refs:addException (Results 1 – 25 of 30) sorted by relevance

12

/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/
DProjectConverter.java68 addException(new ConversionException(ConversionException.NOT_IMPLEMENTED)); in ProjectConverter()
105 addException(new ConversionException(exc.toString())); in scanFile()
109 public void addException(ConversionException exc) { in addException() method in ProjectConverter
/external/dagger2/javatests/dagger/hilt/processor/internal/
DProcessorsTest.java46 .addException(IllegalArgumentException.class) in testCopyMethodSpecWithoutBodyForMethod()
72 .addException(IllegalArgumentException.class) in testCopyMethodSpecWithoutBodyForConstructor()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMediaMetadataRetrieverTest.java9 import static org.robolectric.shadows.ShadowMediaMetadataRetriever.addException;
113 addException(toDataSource(path2), new IllegalArgumentException()); in reset_clearsStaticValues()
134 addException(toDataSource(path), e); in setDataSourceException_withAllowedException()
DShadowMediaPlayerTest.java18 import static org.robolectric.shadows.ShadowMediaPlayer.addException;
1335 ShadowMediaPlayer.addException(toDataSource("dummy"), new IOException()); in testSetDataSourceCustomExceptionOverridesIllegalState()
1417 addException(dummy, e); in testResetStaticState()
1456 addException(toDataSource("dummy"), e); in setDataSourceException_withRuntimeException()
1471 addException(toDataSource("dummy"), e); in setDataSourceException_withIOException()
/external/javapoet/src/test/java/com/squareup/javapoet/
DMethodSpecTest.java349 .addException(ioException) in duplicateExceptionsIgnored()
350 .addException(timeoutException) in duplicateExceptionsIgnored()
351 .addException(timeoutException) in duplicateExceptionsIgnored()
352 .addException(ioException) in duplicateExceptionsIgnored()
355 assertThat(methodSpec.toBuilder().addException(ioException).build().exceptions) in duplicateExceptionsIgnored()
DTypeSpecTest.java513 .addException(IOException.class) in methodThrows()
516 .addException(IOException.class) in methodThrows()
517 .addException(ClassName.get(tacosPackage, "SourCreamException")) in methodThrows()
521 .addException(IOException.class) in methodThrows()
525 .addException(IOException.class) in methodThrows()
/external/guava/guava/src/com/google/common/io/
DMoreFiles.java635 return addException(exceptions, e);
653 return addException(exceptions, e.getCause());
678 return addException(exceptions, e);
697 return addException(exceptions, e.getCause());
751 private static Collection<IOException> addException(
/external/javapoet/src/main/java/com/squareup/javapoet/
DMethodSpec.java239 methodBuilder.addException(TypeName.get(thrownType)); in overriding()
273 builder.addException(TypeName.get(resolvedThrownTypes.get(i))); in overriding()
429 public Builder addException(TypeName exception) { in addException() method in MethodSpec.Builder
434 public Builder addException(Type exception) { in addException() method in MethodSpec.Builder
435 return addException(TypeName.get(exception)); in addException()
/external/doclava/src/com/google/doclava/apicheck/
DAbstractMethodInfo.java21 public void addException(String exec); in addException() method
DXmlApiFile.java214 mCurrentMethod.addException(attributes.getValue("type")); in startElement()
/external/proguard/src/proguard/classfile/editor/
DExceptionsAttributeEditor.java50 public void addException(int exceptionIndex) in addException() method in ExceptionsAttributeEditor
DExceptionAdder.java63 exceptionsAttributeEditor.addException(constantAdder.getConstantIndex()); in visitClassConstant()
/external/apache-commons-bcel/docs/eps/
Dclassgen.fig275 4 0 0 927 -1 16 10 1.5708 4 150 1050 5589 5641 addException()\001
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMediaMetadataRetriever.java75 public static void addException(DataSource ds, RuntimeException e) { in addException() method in ShadowMediaMetadataRetriever
DShadowMediaPlayer.java657 public static void addException(DataSource dataSource, RuntimeException e) {
661 public static void addException(DataSource dataSource, IOException e) {
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DAlwaysThrowsGenerator.java143 .addException(UNAVAILABLE_PROFILE_EXCEPTION_CLASSNAME) in generateBlockingMethodOnAlwaysThrowsClass()
DOtherProfileGenerator.java166 .addException(UNAVAILABLE_PROFILE_EXCEPTION_CLASSNAME) in generateBlockingMethodOnOtherProfileClass()
DFakeOtherGenerator.java180 .addException(UNAVAILABLE_PROFILE_EXCEPTION_CLASSNAME) in generateBlockingMethodOnFakeOther()
/external/apache-commons-bcel/src/examples/Mini/
DASTProgram.java246 method.addException("java.io.IOException"); in byte_code()
DASTFunDecl.java254 method.addException("java.io.IOException"); in byte_code()
/external/jdiff/src/jdiff/
DAPIHandler.java144 XMLToAPI.addException(paramName, paramType, currentElement); in startElement()
DXMLToAPI.java355 public static void addException(String name, String type, String currElement) { in addException() method in XMLToAPI
/external/auto/value/src/main/java/com/google/auto/value/extension/serializable/processor/
DSerializableAutoValueExtension.java284 .addException(Exception.class) in readResolve()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DMethodGen.java237 addException(name2); in MethodGen()
514 public void addException( final String class_name ) { in addException() method in MethodGen
/external/tensorflow/tensorflow/java/src/gen/java/org/tensorflow/processor/
DOperatorProcessor.java265 builder.addException(TypeName.get(thrownType)); in buildOpMethod()

12