Searched refs:declaredType (Results 1 – 2 of 2) sorted by relevance
61 @Nullable Throwable throwable, Class<X> declaredType) throws X { in propagateIfInstanceOf() argument63 if (throwable != null && declaredType.isInstance(throwable)) { in propagateIfInstanceOf()64 throw declaredType.cast(throwable); in propagateIfInstanceOf()107 @Nullable Throwable throwable, Class<X> declaredType) throws X { in propagateIfPossible() argument108 propagateIfInstanceOf(throwable, declaredType); in propagateIfPossible()
166 Class<X> declaredType) throws IOException, X { in rethrow() argument170 Throwables.propagateIfPossible(e, declaredType); in rethrow()