/** @deprecated Use {@link retrofit2.HttpException}. */ @Deprecated public final class HttpException extends retrofit2.HttpException { public HttpException(Response<?> response) { super(response); } }
/** @deprecated Use {@link retrofit2.HttpException}. */ @Deprecated public final class HttpException extends retrofit2.HttpException { public HttpException(Response<?> response) { super(response); } }
/** @deprecated Use {@link retrofit2.HttpException}. */ @Deprecated public final class HttpException extends retrofit2.HttpException { public HttpException(Response<?> response) { super(response); } }
/** * Determines whether a character is a BMP digit according to {@linkplain Character#isDigit(char) * Java's definition}. If you only care to match ASCII digits, you can use {@code inRange('0', * '9')}. * * @deprecated Many digits are supplementary characters; see the class documentation. * @since 19.0 (since 1.0 as constant {@code JAVA_DIGIT}) */ @Deprecated public static CharMatcher javaDigit() { return JavaDigit.INSTANCE; }
/** * Determines whether a BMP character is lower case according to {@linkplain * Character#isLowerCase(char) Java's definition}. * * @deprecated Some lowercase characters are supplementary characters; see the class * documentation. * @since 19.0 (since 1.0 as constant {@code JAVA_LOWER_CASE}) */ @Deprecated public static CharMatcher javaLowerCase() { return JavaLowerCase.INSTANCE; }
/** * Trap null-check attempts on primitives. * @param value the value to check * @param message the message to print * @return the value * @deprecated this method should not be used as there is no need * to check primitives for nullness. */ @Deprecated public static long requireNonNull(long value, String message) { throw new InternalError("Null check on a primitive: " + message); } }
/** * Guaranteed to throw an exception and leave the collection unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override public final void clear() { throw new UnsupportedOperationException(); }
/** * Guaranteed to throw an exception and leave the {@code RangeMap} unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override public void put(Range<K> range, V value) { throw new UnsupportedOperationException(); }
/** * Guaranteed to throw an exception and leave the {@code RangeMap} unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override public void putCoalescing(Range<K> range, V value) { throw new UnsupportedOperationException(); }
/** * Guaranteed to throw an exception and leave the map unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override public final V computeIfPresent( K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) { throw new UnsupportedOperationException(); }
/** * Guaranteed to throw an exception and leave the map unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override public final void putAll(Map<? extends K, ? extends V> map) { throw new UnsupportedOperationException(); }
/** * Guaranteed to throw an exception and leave the list unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override public final void replaceAll(UnaryOperator<E> operator) { throw new UnsupportedOperationException(); }
/** * Guaranteed to throw an exception and leave the list unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override public final void sort(Comparator<? super E> c) { throw new UnsupportedOperationException(); }
/** * Returns an Object array containing snapshot all values of this processor. * <p>The method is thread-safe. * @return the array containing the snapshot of all values of this processor * @deprecated in 2.1.14; put the result of {@link #getValue()} into an array manually, will be removed in 3.x */ @Deprecated public Object[] getValues() { T v = getValue(); return v != null ? new Object[] { v } : new Object[0]; }
/** * Returns an Object array containing snapshot all values of the Subject. * <p>The method is thread-safe. * @return the array containing the snapshot of all values of the Subject * @deprecated in 2.1.14; put the result of {@link #getValue()} into an array manually, will be removed in 3.x */ @Deprecated public Object[] getValues() { T v = getValue(); return v != null ? new Object[] { v } : new Object[0]; }
/** * Guaranteed to throw an exception and leave the multimap unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override public ImmutableCollection<V> removeAll(Object key) { throw new UnsupportedOperationException(); }
/** * Guaranteed to throw an exception and leave the multimap unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override public boolean putAll(K key, Iterable<? extends V> values) { throw new UnsupportedOperationException(); }
/** * Guaranteed to throw an exception and leave the map unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override public final V putIfAbsent(K key, V value) { throw new UnsupportedOperationException(); }
/** * Guaranteed to throw an exception and leave the collection unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override public final int add(E element, int occurrences) { throw new UnsupportedOperationException(); }
/** @deprecated Internal method, use {@link #entrySet()}. */ @Deprecated @Override public Set<Multiset.Entry<E>> createEntrySet() { return new EntrySet(); }