Home | History | Annotate | Download | only in res

Lines Matching defs:NotFoundException

229     public static class NotFoundException extends RuntimeException {
230 public NotFoundException() {
233 public NotFoundException(String name) {
302 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
307 public CharSequence getText(@StringRes int id) throws NotFoundException {
312 throw new NotFoundException("String resource ID #0x"
331 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
337 throws NotFoundException {
348 throw new NotFoundException("Plural resource ID #0x" + Integer.toHexString(id)
393 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
399 public String getString(@StringRes int id) throws NotFoundException {
404 throw new NotFoundException("String resource ID #0x"
422 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
428 public String getString(@StringRes int id, Object... formatArgs) throws NotFoundException {
453 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
459 throws NotFoundException {
479 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
485 throws NotFoundException {
515 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
519 public CharSequence[] getTextArray(@ArrayRes int id) throws NotFoundException {
524 throw new NotFoundException("Text array resource ID #0x"
535 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
540 throws NotFoundException {
545 throw new NotFoundException("String array resource ID #0x"
556 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
560 public int[] getIntArray(@ArrayRes int id) throws NotFoundException {
565 throw new NotFoundException("Int array resource ID #0x"
576 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
583 throws NotFoundException {
586 throw new NotFoundException("Array resource ID #0x"
609 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
614 public float getDimension(@DimenRes int id) throws NotFoundException {
624 throw new NotFoundException(
644 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
649 public int getDimensionPixelOffset(@DimenRes int id) throws NotFoundException {
660 throw new NotFoundException(
681 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
686 public int getDimensionPixelSize(@DimenRes int id) throws NotFoundException {
697 throw new NotFoundException(
718 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
730 throw new NotFoundException(
763 * @throws NotFoundException Throws NotFoundException if the given ID does
770 public Drawable getDrawable(@DrawableRes int id) throws NotFoundException {
791 * @throws NotFoundException Throws NotFoundException if the given ID does
795 public Drawable getDrawable(@DrawableRes int id, @Nullable Theme theme) throws NotFoundException {
836 * @throws NotFoundException Throws NotFoundException if the given ID does
843 public Drawable getDrawableForDensity(@DrawableRes int id, int density) throws NotFoundException {
858 * @throws NotFoundException Throws NotFoundException if the given ID does
903 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
906 public Movie getMovie(@RawRes int id) throws NotFoundException {
927 * @throws NotFoundException Throws NotFoundException if the given ID does
935 public int getColor(@ColorRes int id) throws NotFoundException {
950 * @throws NotFoundException Throws NotFoundException if the given ID does
956 public int getColor(@ColorRes int id, @Nullable Theme theme) throws NotFoundException {
969 throw new NotFoundException(
996 * @throws NotFoundException Throws NotFoundException if the given ID does
1005 public ColorStateList getColorStateList(@ColorRes int id) throws NotFoundException {
1028 * @throws NotFoundException Throws NotFoundException if the given ID does
1036 throws NotFoundException {
1067 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
1071 public boolean getBoolean(@BoolRes int id) throws NotFoundException {
1082 throw new NotFoundException(
1095 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
1099 public int getInteger(@IntegerRes int id) throws NotFoundException {
1110 throw new NotFoundException(
1125 * @throws NotFoundException Throws NotFoundException if the given ID does
1139 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id) + " type #0x"
1157 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
1164 public XmlResourceParser getLayout(@LayoutRes int id) throws NotFoundException {
1181 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
1188 public XmlResourceParser getAnimation(@AnimRes int id) throws NotFoundException {
1206 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
1213 public XmlResourceParser getXml(@XmlRes int id) throws NotFoundException {
1228 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
1231 public InputStream openRawResource(@RawRes int id) throws NotFoundException {
1261 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
1264 throws NotFoundException {
1271 NotFoundException rnf = new NotFoundException("File " + value.string.toString() +
1296 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
1300 throws NotFoundException {
1315 NotFoundException rnf = new NotFoundException(
1342 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
1346 throws NotFoundException {
1351 throw new NotFoundException("Resource ID #0x"
1364 * @throws NotFoundException Throws NotFoundException if the given ID does
1369 boolean resolveRefs) throws NotFoundException {
1374 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id));
1394 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
1398 throws NotFoundException {
1404 throw new NotFoundException("String resource name " + name);
1472 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
1500 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
1511 throws NotFoundException {
1726 * @throws NotFoundException Throws NotFoundException if the given ID
1729 public Drawable getDrawable(@DrawableRes int id) throws NotFoundException {
1811 } catch (NotFoundException e) {
2226 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
2232 public String getResourceName(@AnyRes int resid) throws NotFoundException {
2235 throw new NotFoundException("Unable to find resource ID #0x"
2247 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
2251 public String getResourcePackageName(@AnyRes int resid) throws NotFoundException {
2254 throw new NotFoundException("Unable to find resource ID #0x"
2266 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
2270 public String getResourceTypeName(@AnyRes int resid) throws NotFoundException {
2273 throw new NotFoundException("Unable to find resource ID #0x"
2285 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
2289 public String getResourceEntryName(@AnyRes int resid) throws NotFoundException {
2292 throw new NotFoundException("Unable to find resource ID #0x"
2466 } catch (NotFoundException e) {
2480 } catch (NotFoundException e) {
2491 Drawable loadDrawable(TypedValue value, int id, Theme theme) throws NotFoundException {
2602 throw new NotFoundException("Resource \"" + getResourceName(id) + "\" ("
2640 final NotFoundException rnf = new NotFoundException(
2652 throws NotFoundException {
2750 final NotFoundException rnf = new NotFoundException(
2758 throw new NotFoundException(
2768 throws NotFoundException {
2779 throw new NotFoundException(
2786 int assetCookie, String type) throws NotFoundException {
2821 NotFoundException rnf = new NotFoundException(
2829 throw new NotFoundException(